From: Ian Jackson Date: Mon, 24 Apr 2017 12:23:03 +0000 (+0100) Subject: process putatives: Fix processing of [ ] sections X-Git-Tag: hippotat/1.0.0~55^2~22 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=hippotat.git;a=commitdiff_plain;h=b8c38e6610bd82820e028e8b38e6275bb032bee1 process putatives: Fix processing of [ ] sections Convert only the client part to an ip address. Signed-off-by: Ian Jackson --- 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')