Date: Mon, 13 Oct 2014 11:04:01 +0000 (UTC) From: "Alexander V. Chernikov" <melifaro@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r273030 - projects/routing/sbin/ipfw Message-ID: <201410131104.s9DB41nw077585@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410131104.s9DB41nw077585>