From e91c50bb141774a8ec3d2ac9a37d40b1e1c7d9ef Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 26 Aug 2009 22:47:16 +0000 Subject: [PATCH] merge firewall hotplug event change from r17415 SVN-Revision: 17417 --- package/firewall/files/uci_firewall.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/firewall/files/uci_firewall.sh b/package/firewall/files/uci_firewall.sh index c197003595..3c3d8e1b72 100755 --- a/package/firewall/files/uci_firewall.sh +++ b/package/firewall/files/uci_firewall.sh @@ -84,6 +84,7 @@ addif() { $IPTABLES -A forward -i "$ifname" -j zone_${zone}_forward uci_set_state firewall core "${network}_ifname" "$ifname" uci_set_state firewall core "${network}_zone" "$zone" + ACTION=add ZONE="$zone" INTERFACE="$network" DEVICE="$ifname" /sbin/hotplug-call firewall } delif() { @@ -105,6 +106,7 @@ delif() { $IPTABLES -D forward -i "$ifname" -j zone_${zone}_forward uci_revert_state firewall core "${network}_ifname" uci_revert_state firewall core "${network}_zone" + ACTION=remove ZONE="$zone" INTERFACE="$network" DEVICE="$ifname" /sbin/hotplug-call firewall } load_synflood() { -- 2.30.2