diff options
author | ae <ae@FreeBSD.org> | 2011-06-06 11:10:38 +0000 |
---|---|---|
committer | ae <ae@FreeBSD.org> | 2011-06-06 11:10:38 +0000 |
commit | 779a2851183dcdf9fcc874c942b9cd64a23e5711 (patch) | |
tree | 0f5cf17d3541789dea64838316ffe44246739b77 /sbin/ipfw | |
parent | 32b65a86d0b2b966afb97a6694f92ff4f8d4d83f (diff) | |
download | FreeBSD-src-779a2851183dcdf9fcc874c942b9cd64a23e5711.zip FreeBSD-src-779a2851183dcdf9fcc874c942b9cd64a23e5711.tar.gz |
Initialize co.use_set variable before parsing each new rule.
PR: bin/134975
MFC after: 2 weeks
Diffstat (limited to 'sbin/ipfw')
-rw-r--r-- | sbin/ipfw/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/ipfw/main.c b/sbin/ipfw/main.c index be6c093f..109b62b 100644 --- a/sbin/ipfw/main.c +++ b/sbin/ipfw/main.c @@ -356,6 +356,7 @@ ipfw_main(int oldac, char **oldav) */ co.do_nat = 0; co.do_pipe = 0; + co.use_set = 0; if (!strncmp(*av, "nat", strlen(*av))) co.do_nat = 1; else if (!strncmp(*av, "pipe", strlen(*av))) |