[openwrt/openwrt] dnsmasq: add ubus acl to allow calls to hotplug.tftp object

LEDE Commits lede-commits at lists.infradead.org
Fri Nov 12 07:04:01 PST 2021


dangole pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/0cbc6b16db8ce03a522b9acb49ea46cc2134697a

commit 0cbc6b16db8ce03a522b9acb49ea46cc2134697a
Author: Daniel Golle <daniel at makrotopia.org>
AuthorDate: Thu Nov 11 14:24:26 2021 +0000

    dnsmasq: add ubus acl to allow calls to hotplug.tftp object
    
    dnsmasq may call hotplug.dhcp, hotplug.neigh and hotplug.tftp.
    Only the first two callees were listed in the ACL, so add missing
    hotplug.tftp.
    
    Signed-off-by: Daniel Golle <daniel at makrotopia.org>
---
 package/network/services/dnsmasq/files/dnsmasq_acl.json | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/package/network/services/dnsmasq/files/dnsmasq_acl.json b/package/network/services/dnsmasq/files/dnsmasq_acl.json
index 47d7c29302..67c6c20483 100644
--- a/package/network/services/dnsmasq/files/dnsmasq_acl.json
+++ b/package/network/services/dnsmasq/files/dnsmasq_acl.json
@@ -7,6 +7,9 @@
 		},
 		"hotplug.neigh": {
 			"methods": [ "call" ]
+		},
+		"hotplug.tftp": {
+			"methods": [ "call" ]
 		}
 	}
 }



More information about the lede-commits mailing list