From 687b83af008247dff72045e3d46b65f176013c29 Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Sat, 30 Jun 2007 19:28:46 +0000
Subject: [PATCH] include the network state in the dnsmasq init script. this
 makes it possible to run a dhcp server on dynamically assigned interfaces
 without hardcoding interface names

SVN-Revision: 7805
---
 package/dnsmasq/files/dnsmasq.init | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/dnsmasq/files/dnsmasq.init b/package/dnsmasq/files/dnsmasq.init
index 1d4cc5a995..14c77fb013 100644
--- a/package/dnsmasq/files/dnsmasq.init
+++ b/package/dnsmasq/files/dnsmasq.init
@@ -58,6 +58,7 @@ dhcp_add() {
 start() {
 	include /lib/network
 	scan_interfaces
+	config_load /var/state/network
 	config_load dhcp
 
 	args=""
-- 
2.30.2