mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-11-01 02:48:18 +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>
|
From: John Crispin <john@phrozen.org>
|
||||||
Date: Mon, 13 Jun 2022 13:33:31 +0200
|
Date: Mon, 13 Jun 2022 13:33:31 +0200
|
||||||
Subject: [PATCH] dnsmasq: ignore dhcp on the ifb-dhcp interface
|
Subject: [PATCH] dnsmasq: ignore dhcp on the ifb-dhcp interface
|
||||||
|
|
||||||
Signed-off-by: John Crispin <john@phrozen.org>
|
Signed-off-by: John Crispin <john@phrozen.org>
|
||||||
---
|
---
|
||||||
package/network/services/dnsmasq/files/dnsmasq.init | 1 +
|
package/network/services/dnsmasq/files/dnsmasq.init | 2 ++
|
||||||
1 file changed, 1 insertion(+)
|
1 file changed, 2 insertions(+)
|
||||||
|
|
||||||
diff --git a/package/network/services/dnsmasq/files/dnsmasq.init b/package/network/services/dnsmasq/files/dnsmasq.init
|
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
|
--- a/package/network/services/dnsmasq/files/dnsmasq.init
|
||||||
+++ b/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"
|
[ -n "$BOOT" ] || config_foreach filter_dnsmasq dhcp dhcp_add "$cfg"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
+ xappend "except-interface=ifb-dhcp"
|
+ xappend "except-interface=ifb-dhcp"
|
||||||
|
+ xappend "except-interface=spotfilter-ifb"
|
||||||
|
|
||||||
echo >> $CONFIGFILE_TMP
|
echo >> $CONFIGFILE_TMP
|
||||||
config_foreach filter_dnsmasq cname dhcp_cname_add "$cfg"
|
config_foreach filter_dnsmasq cname dhcp_cname_add "$cfg"
|
||||||
|
|||||||
Reference in New Issue
Block a user