diff options
author | Andrey V. Elsukov <ae@FreeBSD.org> | 2011-06-06 11:10:38 +0000 |
---|---|---|
committer | Andrey V. Elsukov <ae@FreeBSD.org> | 2011-06-06 11:10:38 +0000 |
commit | 71f3650a4144bd9e845410a517220768905ef9c3 (patch) | |
tree | 0f5cf17d3541789dea64838316ffe44246739b77 /sbin | |
parent | 796051d6641c5517adc9a65890ca3c1bdc454e13 (diff) | |
download | src-71f3650a4144bd9e845410a517220768905ef9c3.tar.gz src-71f3650a4144bd9e845410a517220768905ef9c3.zip |
Initialize co.use_set variable before parsing each new rule.
PR: bin/134975
MFC after: 2 weeks
Notes
Notes:
svn path=/head/; revision=222745
Diffstat (limited to 'sbin')
-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 be6c093f303b..109b62b7de43 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))) |