patches: carry forward dnsmasq ifb-dhcp ignore (0028)

Configures dnsmasq to ignore DHCP on the ifb-dhcp interface.

Renumbered from patches/0038.

Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
John Crispin
2025-10-19 00:00:00 +02:00
parent 64309085e8
commit 9860aeb3e1

View File

@@ -1,7 +1,9 @@
From c7b338d7d443b42b3053d37f887b175d1dd10ec5 Mon Sep 17 00:00:00 2001
From eb74e9e5ef2b449439435a44eaac05b92980e59a Mon Sep 17 00:00:00 2001
From: John Crispin <john@phrozen.org>
Date: Mon, 13 Jun 2022 13:33:31 +0200
Subject: [PATCH 38/68] dnsmasq: ignore dhcp on the ifb-dhcp interface
Subject: [PATCH 28/55] dnsmasq: ignore dhcp on the ifb-dhcp interface
This would otherwise break spotfilter client detection.
Signed-off-by: John Crispin <john@phrozen.org>
---
@@ -9,10 +11,10 @@ Signed-off-by: John Crispin <john@phrozen.org>
1 file changed, 3 insertions(+)
diff --git a/package/network/services/dnsmasq/files/dnsmasq.init b/package/network/services/dnsmasq/files/dnsmasq.init
index 2a3327b0c6..c6576b6f27 100755
index e9afcc78d3..8acc40d963 100755
--- a/package/network/services/dnsmasq/files/dnsmasq.init
+++ b/package/network/services/dnsmasq/files/dnsmasq.init
@@ -1167,6 +1167,9 @@ dnsmasq_start()
@@ -1222,6 +1222,9 @@ dnsmasq_start()
[ -n "$BOOT" ] || config_foreach filter_dnsmasq dhcp dhcp_add "$cfg"
fi
@@ -20,7 +22,7 @@ index 2a3327b0c6..c6576b6f27 100755
+ xappend "except-interface=spotfilter-ifb"
+ xappend "except-interface=ifb-dhcprelay"
echo >> $CONFIGFILE_TMP
echo >> "$CONFIGFILE_TMP"
config_foreach filter_dnsmasq cname dhcp_cname_add "$cfg"
--
2.34.1