From fac5e62abdec3cb5370bd09fdb704052001c3f30 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Sun, 19 Jan 2014 17:35:33 +0000 Subject: [PATCH] firewall: don't reload if there were no address or data changes This fixes packet loss due to reloading firewall every minute with IPv6 implementation of certain ISPs. SVN-Revision: 39332 --- package/network/config/firewall/files/firewall.hotplug | 1 + 1 file changed, 1 insertion(+) diff --git a/package/network/config/firewall/files/firewall.hotplug b/package/network/config/firewall/files/firewall.hotplug index e34dc635a6bc..f1eab001d491 100644 --- a/package/network/config/firewall/files/firewall.hotplug +++ b/package/network/config/firewall/files/firewall.hotplug @@ -1,6 +1,7 @@ #!/bin/sh [ "$ACTION" = ifup -o "$ACTION" = ifupdate ] || exit 0 +[ "$ACTION" = ifupdate -a -z "$IFUPDATE_ADDRESSES" -a -z "$IFUPDATE_DATA" ] && exit 0 /etc/init.d/firewall enabled || exit 0 -- 2.30.2