Skip to content

Commit f3f213a

Browse files
authored
fix(dhcp): wrong call of euci for uci prop (#1738)
1 parent f454e60 commit f3f213a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/ns-api/files/ns.dhcp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ def list_active_leases():
222222
if 'mac' in ldata and 'ip' in ldata:
223223
static_leases.append(ldata['mac'].lower())
224224

225-
leasefile = u.get('dhcp', 'ns_dnsmasq', 'dhcp', 'leasefile', default='/tmp/dhcp.leases')
225+
leasefile = u.get('dhcp', 'ns_dnsmasq', 'leasefile', default='/tmp/dhcp.leases')
226226
if not os.path.exists(leasefile):
227227
return ret
228228

0 commit comments

Comments
 (0)