summaryrefslogtreecommitdiffstats
path: root/sbin/ipfw
diff options
context:
space:
mode:
authormaxim <maxim@FreeBSD.org>2003-07-21 09:56:05 +0000
committermaxim <maxim@FreeBSD.org>2003-07-21 09:56:05 +0000
commit5d0d1d89afae69b866c9eddb6de40960d75a14bd (patch)
tree37d609dd0c541720459093a9189b0beb2ad9fbf9 /sbin/ipfw
parent71ec5f458ad9303e21df70b52c79be5209172abe (diff)
downloadFreeBSD-src-5d0d1d89afae69b866c9eddb6de40960d75a14bd.zip
FreeBSD-src-5d0d1d89afae69b866c9eddb6de40960d75a14bd.tar.gz
o Initialize do_pipe before command parsing.
PR: bin/54649 Submitted by: Andy Gilligan <andy@evo6.org> MFC after: 3 days
Diffstat (limited to 'sbin/ipfw')
-rw-r--r--sbin/ipfw/ipfw2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/ipfw/ipfw2.c b/sbin/ipfw/ipfw2.c
index 57349e2..c77efa8 100644
--- a/sbin/ipfw/ipfw2.c
+++ b/sbin/ipfw/ipfw2.c
@@ -3766,6 +3766,7 @@ ipfw_main(int oldac, char **oldav)
/*
* optional: pipe or queue
*/
+ do_pipe = 0;
if (!strncmp(*av, "pipe", strlen(*av)))
do_pipe = 1;
else if (!strncmp(*av, "queue", strlen(*av)))
OpenPOWER on IntegriCloud