o Initialize do_pipe before command parsing.

PR:		bin/54649
Submitted by:	Andy Gilligan <andy@evo6.org>
MFC after:	3 days
This commit is contained in:
Maxim Konovalov 2003-07-21 09:56:05 +00:00
parent e9acc4b17f
commit 6fa74f7d88
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=117821

View File

@ -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)))