mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-29 17:42:41 +00:00
dnsmasq: ignore dhcp events on spotfilter-ifb
Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
@@ -1,22 +1,23 @@
|
||||
From c5b68d334fa19e5fa0632d9d361cb613b1384b75 Mon Sep 17 00:00:00 2001
|
||||
From 65e3d7cb239d85ed3b3ac142a9a53523b7343fe2 Mon Sep 17 00:00:00 2001
|
||||
From: John Crispin <john@phrozen.org>
|
||||
Date: Mon, 13 Jun 2022 13:33:31 +0200
|
||||
Subject: [PATCH] dnsmasq: ignore dhcp on the ifb-dhcp interface
|
||||
|
||||
Signed-off-by: John Crispin <john@phrozen.org>
|
||||
---
|
||||
package/network/services/dnsmasq/files/dnsmasq.init | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
package/network/services/dnsmasq/files/dnsmasq.init | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/package/network/services/dnsmasq/files/dnsmasq.init b/package/network/services/dnsmasq/files/dnsmasq.init
|
||||
index dacd476cd4..d00485da90 100644
|
||||
index 205bfb4cf6..415a6b013d 100644
|
||||
--- a/package/network/services/dnsmasq/files/dnsmasq.init
|
||||
+++ b/package/network/services/dnsmasq/files/dnsmasq.init
|
||||
@@ -1108,6 +1108,7 @@ dnsmasq_start()
|
||||
@@ -1106,6 +1106,8 @@ dnsmasq_start()
|
||||
[ -n "$BOOT" ] || config_foreach filter_dnsmasq dhcp dhcp_add "$cfg"
|
||||
fi
|
||||
|
||||
+ xappend "except-interface=ifb-dhcp"
|
||||
+ xappend "except-interface=spotfilter-ifb"
|
||||
|
||||
echo >> $CONFIGFILE_TMP
|
||||
config_foreach filter_dnsmasq cname dhcp_cname_add "$cfg"
|
||||
|
||||
Reference in New Issue
Block a user