mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-01 01:09:22 +01:00
Concisify match_host CIDR logging again
We're replacing the glob, not the target's host.
This commit is contained in:
parent
761d3ef500
commit
7aa836efa6
@ -1063,7 +1063,7 @@ class PyLinkNetworkCoreWithUtils(PyLinkNetworkCore):
|
||||
# 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