From owner-freebsd-bugs@FreeBSD.ORG Sun May 4 08:20:54 2003 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 752ED37B401 for ; Sun, 4 May 2003 08:20:54 -0700 (PDT) Received: from gw-bj2.datamax.bg (datamax.wl.bitex.com [195.34.115.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F18843F93 for ; Sun, 4 May 2003 08:20:53 -0700 (PDT) (envelope-from vd@datamax.bg) Received: from sinanica.lg2a.datamax (sinanica.lg2a.datamax [192.168.10.1]) by gw-bj2.datamax.bg (Postfix) with QMQP id A376987C7 for ; Sun, 4 May 2003 18:20:51 +0300 (EEST) Received: (nullmailer pid 40922 invoked by uid 1001); Sun, 04 May 2003 15:21:04 -0000 Date: Sun, 4 May 2003 18:21:04 +0300 From: Vasil Dimov To: freebsd-bugs@freebsd.org Message-ID: <20030504152104.GA40911@sinanica.lg2a.datamax> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Kj7319i9nmIyA2yE" Content-Disposition: inline X-OS: FreeBSD 5.0-CURRENT User-Agent: Mutt/1.5.4i Subject: ipfw2.c typos patch X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: vd@datamax.bg List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 May 2003 15:20:54 -0000 --Kj7319i9nmIyA2yE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sorry, I forgot to attach ipfw2.c.patch to the bug report. --Kj7319i9nmIyA2yE Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="ipfw2.c.patch" --- ipfw2.c.orig Sat Mar 15 03:12:59 2003 +++ ipfw2.c Sun May 4 18:12:44 2003 @@ -2782,7 +2782,7 @@ cmd = next_cmd(cmd); } } else if (first_cmd != cmd) { - errx(EX_DATAERR, "invalid protocol ``%s''", av); + errx(EX_DATAERR, "invalid protocol ``%s''", *av); } else goto read_options; OR_BLOCK(get_proto); @@ -3115,7 +3115,7 @@ proto = cmd->arg1; ac--; av++; } else - errx(EX_DATAERR, "invalid protocol ``%s''", av); + errx(EX_DATAERR, "invalid protocol ``%s''", *av); break; case TOK_SRCIP: @@ -3162,7 +3162,7 @@ case TOK_MACTYPE: NEED1("missing mac type"); if (!add_mactype(cmd, ac, *av)) - errx(EX_DATAERR, "invalid mac type %s", av); + errx(EX_DATAERR, "invalid mac type %s", *av); ac--; av++; break; --Kj7319i9nmIyA2yE--