unbound-dhcp-leases-bridge: handle PTR generation parameter
Commit Message
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reported-by: Matthias Fischer <matthias.fischer@ipfire.org>
---
config/rootfiles/core/135/filelists/files | 1 +
config/unbound/unbound-dhcp-leases-bridge | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
@@ -9,3 +9,4 @@ etc/rc.d/init.d/functions
etc/rc.d/init.d/partresize
etc/rc.d/init.d/unbound
etc/sysctl.conf
+usr/sbin/unbound-dhcp-leases-bridge
@@ -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