unbound-dhcp-leases-bridge: handle PTR generation parameter

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reported-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Peter Müller
2019-07-14 14:38:00 +00:00
committed by Michael Tremer
parent 6511460487
commit 4a46575628
2 changed files with 2 additions and 1 deletions

View File

@@ -153,7 +153,7 @@ class UnboundDHCPLeasesBridge(object):
line = line.rstrip()
try:
enabled, ipaddr, hostname, domainname = line.split(",")
enabled, ipaddr, hostname, domainname, generateptr = line.split(",")
except:
log.warning("Could not parse line: %s" % line)
continue