[package] firewall:
[openwrt.git] / package / firewall / files / reflection.hotplug
index af88fe0..dc6780a 100644 (file)
@@ -2,7 +2,7 @@
 
 . /etc/functions.sh
 
-if [ "$ACTION" = "ifup" ] && [ "$INTERFACE" = "wan" ]; then
+if [ "$ACTION" = "add" ] && [ "$INTERFACE" = "wan" ]; then
        local wanip=$(uci -P/var/state get network.wan.ipaddr)
 
        iptables -t nat -F nat_reflection_in 2>/dev/null || {
This page took 0.028589 seconds and 4 git commands to generate.