Changeset 26740


Ignore:
Timestamp:
2011-04-20T13:49:09+02:00 (7 years ago)
Author:
jow
Message:

[package] firewall: prevent excessive uci state data aggregation (#9152)

Location:
trunk/package/firewall
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/firewall/Makefile

    r26382 r26740  
    1010 
    1111PKG_VERSION:=2 
    12 PKG_RELEASE:=24 
     12PKG_RELEASE:=25 
    1313 
    1414include $(INCLUDE_DIR)/package.mk 
  • trunk/package/firewall/files/lib/core_interface.sh

    r26382 r26740  
    99        val="${val# }" 
    1010        val="${val% }" 
     11        uci_revert_state firewall core $var 
    1112        uci_set_state firewall core $var "${val:+$val }$item" 
    1213} 
     
    2021        val="${val# }" 
    2122        val="${val% }" 
     23        uci_revert_state firewall core $var 
    2224        uci_set_state firewall core $var "$val" 
    2325} 
Note: See TracChangeset for help on using the changeset viewer.