chiark / gitweb /
process putatives: Fix processing of [<servername> <client>] sections
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 24 Apr 2017 12:23:03 +0000 (13:23 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 24 Apr 2017 12:23:03 +0000 (13:23 +0100)
Convert only the client part to an ip address.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
hippotatlib/__init__.py

index bd5d2c3..b06d225 100644 (file)
@@ -424,7 +424,7 @@ def _cfg_process_putatives():
 
         try:
           # plan D "[<servername> <client>]" part 2
-          ci = ipaddr(pc)
+          ci = ipaddr(pcs)
         except AddressValueError:
           # plan F "[<some thing we do not understand>]"
           log_ignore('bad-addr')