luci-base: handle dhcp lease from odhcpd 2742/head
authorAnsuel Smith <ansuelsmth@gmail.com>
Sun, 2 Jun 2019 20:37:31 +0000 (22:37 +0200)
committerAnsuel Smith <ansuelsmth@gmail.com>
Mon, 3 Jun 2019 10:51:33 +0000 (12:51 +0200)
commitbb34a31e811266ec119002263fa35195bed055db
treebdfc979803bd31fef691bc41d00b5fed56337edb
parent525d62ff333f23552ecdd2d177d64e41544869f9
luci-base: handle dhcp lease from odhcpd

Currently only the dnsmasq lease file is read for hostname hint. If someone use only odhcpd as dhcp daemon the hostname resolution on wifi_assoc list is broken.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
modules/luci-base/luasrc/sys.lua