projects
/
project
/
firewall3.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
selectively delete chains in filter and nat tables
[project/firewall3.git]
/
forwards.c
diff --git
a/forwards.c
b/forwards.c
index
c212c8c
..
d3750b5
100644
(file)
--- a/
forwards.c
+++ b/
forwards.c
@@
-76,7
+76,7
@@
fw3_load_forwards(struct fw3_state *state, struct uci_package *p)
if (forward->_dest)
{
- forward->_dest->has_dest_target
[FW3_TARGET_ACCEPT] = true
;
+ forward->_dest->has_dest_target
|= (1 << FW3_TARGET_ACCEPT)
;
if (forward->_src &&
(forward->_src->conntrack || forward->_dest->conntrack))