X-Git-Url: http://git.archive.openwrt.org/?p=project%2Ffirewall3.git;a=blobdiff_plain;f=snats.c;h=fad600876f4d8bc7c64f9384b87c32fb12dac1bb;hp=75b0fa046d2949ac90ca0d191b91c62e167d69c3;hb=e06e5376e1a2d70de256fe9da0ea78d2a7695a98;hpb=410cff5e62db45e8415bf25bf50395b4e7e22482 diff --git a/snats.c b/snats.c index 75b0fa0..fad6008 100644 --- a/snats.c +++ b/snats.c @@ -1,7 +1,7 @@ /* * firewall3 - 3rd OpenWrt UCI firewall implementation * - * Copyright (C) 2014 Jo-Philipp Wich + * Copyright (C) 2014 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 @@ -252,10 +252,7 @@ fw3_load_snats(struct fw3_state *state, struct uci_package *p, struct blob_attr } if (snat->_src) - { set(snat->_src->flags, FW3_FAMILY_V4, FW3_FLAG_SNAT); - snat->_src->conntrack = true; - } } }