projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[brcm63xx] board definitions: Added CPVA642 GPIO leds and buttons and refreshed patch...
[openwrt.git]
/
package
/
firewall
/
files
/
lib
/
core_rule.sh
diff --git
a/package/firewall/files/lib/core_rule.sh
b/package/firewall/files/lib/core_rule.sh
index
a0de3ba
..
9443eef
100644
(file)
--- a/
package/firewall/files/lib/core_rule.sh
+++ b/
package/firewall/files/lib/core_rule.sh
@@
-53,7
+53,7
@@
fw_load_rule() {
fw_get_negation dest_spec '-d' "${rule_dest_ip:+$rule_dest_ip/$rule_dest_ip_prefixlen}"
local rule_pos
fw_get_negation dest_spec '-d' "${rule_dest_ip:+$rule_dest_ip/$rule_dest_ip_prefixlen}"
local rule_pos
- eval 'rule_pos=$((++FW__RULE_COUNT_'$
mode
'_'$chain'))'
+ eval 'rule_pos=$((++FW__RULE_COUNT_'$
{mode#G}
'_'$chain'))'
[ "$rule_proto" == "tcpudp" ] && rule_proto="tcp udp"
for rule_proto in $rule_proto; do
[ "$rule_proto" == "tcpudp" ] && rule_proto="tcp udp"
for rule_proto in $rule_proto; do
This page took
0.025689 seconds
and
4
git commands to generate.