From b8c38e6610bd82820e028e8b38e6275bb032bee1 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 24 Apr 2017 13:23:03 +0100 Subject: [PATCH] process putatives: Fix processing of [ ] sections Convert only the client part to an ip address. Signed-off-by: Ian Jackson --- hippotatlib/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hippotatlib/__init__.py b/hippotatlib/__init__.py index bd5d2c3..b06d225 100644 --- a/hippotatlib/__init__.py +++ b/hippotatlib/__init__.py @@ -424,7 +424,7 @@ def _cfg_process_putatives(): try: # plan D "[ ]" part 2 - ci = ipaddr(pc) + ci = ipaddr(pcs) except AddressValueError: # plan F "[]" log_ignore('bad-addr') -- 2.11.0