From 7aa836efa68962c5202a8e6346785e2ea60d2003 Mon Sep 17 00:00:00 2001 From: James Lu Date: Wed, 16 Aug 2017 00:03:13 -0700 Subject: [PATCH] Concisify match_host CIDR logging again We're replacing the glob, not the target's host. --- classes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes.py b/classes.py index 3a85122..fd4219c 100644 --- a/classes.py +++ b/classes.py @@ -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