add LD_LIBRARY to cmake.mk
[openwrt.git] / package / firewall / files / lib / core_interface.sh
index ed6a4b1..bc9eb96 100644 (file)
@@ -8,6 +8,7 @@ fw__uci_state_add() {
        val="${val// $item / }"
        val="${val# }"
        val="${val% }"
        val="${val// $item / }"
        val="${val# }"
        val="${val% }"
+       uci_revert_state firewall core $var
        uci_set_state firewall core $var "${val:+$val }$item"
 }
 
        uci_set_state firewall core $var "${val:+$val }$item"
 }
 
@@ -19,6 +20,7 @@ fw__uci_state_del() {
        val="${val// $item / }"
        val="${val# }"
        val="${val% }"
        val="${val// $item / }"
        val="${val# }"
        val="${val% }"
+       uci_revert_state firewall core $var
        uci_set_state firewall core $var "$val"
 }
 
        uci_set_state firewall core $var "$val"
 }
 
This page took 0.047081 seconds and 4 git commands to generate.