svn commit: r273030 - projects/routing/sbin/ipfw
Alexander V. Chernikov
melifaro at FreeBSD.org
Mon Oct 13 11:04:02 UTC 2014
Author: melifaro
Date: Mon Oct 13 11:04:01 2014
New Revision: 273030
URL: https://svnweb.freebsd.org/changeset/base/273030
Log:
Fix zeroing individual entries via ipfw(8).
Found by: Oleg Ginzburg
Modified:
projects/routing/sbin/ipfw/ipfw2.c
Modified: projects/routing/sbin/ipfw/ipfw2.c
==============================================================================
--- projects/routing/sbin/ipfw/ipfw2.c Mon Oct 13 11:00:58 2014 (r273029)
+++ projects/routing/sbin/ipfw/ipfw2.c Mon Oct 13 11:04:01 2014 (r273030)
@@ -4799,6 +4799,7 @@ ipfw_zero(int ac, char *av[], int optnam
} else {
errx(EX_USAGE, "invalid rule number ``%s''", *av);
}
+ av++; ac--;
}
if (failed != EX_OK)
exit(failed);
More information about the svn-src-projects
mailing list