X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=forwards.c;h=6f950520fd37f0f3d004a766e8a9878415ba697f;hb=18f4c6fda6afb912f53ded3112b1f270ddf5ff6c;hp=24b8e4dc8fd5557c29b241219ff9b2598b1ee949;hpb=410cff5e62db45e8415bf25bf50395b4e7e22482;p=project%2Ffirewall3.git diff --git a/forwards.c b/forwards.c index 24b8e4d..6f95052 100644 --- a/forwards.c +++ b/forwards.c @@ -1,7 +1,7 @@ /* * firewall3 - 3rd OpenWrt UCI firewall implementation * - * Copyright (C) 2013 Jo-Philipp Wich + * Copyright (C) 2013 Jo-Philipp Wich * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -86,8 +86,8 @@ fw3_load_forwards(struct fw3_state *state, struct uci_package *p) /* NB: forward family... */ if (forward->_dest) { - setbit(forward->_dest->flags[0], FW3_FLAG_ACCEPT); - setbit(forward->_dest->flags[1], FW3_FLAG_ACCEPT); + fw3_setbit(forward->_dest->flags[0], FW3_FLAG_ACCEPT); + fw3_setbit(forward->_dest->flags[1], FW3_FLAG_ACCEPT); if (forward->_src && (forward->_src->conntrack || forward->_dest->conntrack))