mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-28 05:32:51 +01:00
Concisify match_host CIDR logging again
We're replacing the glob, not the target's host.
(cherry picked from commit 7aa836efa6
)
This commit is contained in:
parent
d1f8358159
commit
f3e82cc15b
@ -1228,7 +1228,7 @@ class Irc(utils.DeprecatedAttributesObject):
|
||||
# If the CIDR matches, hack around the host matcher by pretending that
|
||||
# the lookup target was the IP and not the CIDR range!
|
||||
glob = '@'.join((header, real_ip))
|
||||
log.debug('(%s) Found matching CIDR %s for %s, replacing target host with IP %s', self.name,
|
||||
log.debug('(%s) Found matching CIDR %s for %s, replacing target glob with IP %s', self.name,
|
||||
cidrtarget, target, real_ip)
|
||||
except ValueError:
|
||||
pass
|
||||
|
Loading…
Reference in New Issue
Block a user