all: add support for pfsense

This commit is contained in:
Cuong Manh Le
2023-06-02 20:24:42 +07:00
committed by Cuong Manh Le
parent 8fda856e24
commit b143e46eb0
6 changed files with 83 additions and 9 deletions
+1
View File
@@ -28,6 +28,7 @@ var clientInfoFiles = map[string]readClientInfoFunc{
"/tmp/var/lib/misc/dnsmasq.leases": dnsmasqReadClientInfoFile, // Tomato
"/run/dnsmasq-dhcp.leases": dnsmasqReadClientInfoFile, // EdgeOS
"/run/dhcpd.leases": iscDHCPReadClientInfoFile, // EdgeOS
"/var/dhcpd/var/db/dhcpd.leases": iscDHCPReadClientInfoFile, // Pfsense
}
func (r *router) watchClientInfoTable() {