From owner-svn-src-head@freebsd.org Sun Nov 8 13:44:23 2015 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 25B15A29923; Sun, 8 Nov 2015 13:44:23 +0000 (UTC) (envelope-from melifaro@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E38D014A2; Sun, 8 Nov 2015 13:44:22 +0000 (UTC) (envelope-from melifaro@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id tA8DiLtl074913; Sun, 8 Nov 2015 13:44:21 GMT (envelope-from melifaro@FreeBSD.org) Received: (from melifaro@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tA8DiL42074911; Sun, 8 Nov 2015 13:44:21 GMT (envelope-from melifaro@FreeBSD.org) Message-Id: <201511081344.tA8DiL42074911@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: melifaro set sender to melifaro@FreeBSD.org using -f From: "Alexander V. Chernikov" Date: Sun, 8 Nov 2015 13:44:21 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r290545 - head/sys/netpfil/ipfw X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Nov 2015 13:44:23 -0000 Author: melifaro Date: Sun Nov 8 13:44:21 2015 New Revision: 290545 URL: https://svnweb.freebsd.org/changeset/base/290545 Log: Print proper setfib values in ipfw log. Submitted by: Denis Schneider Modified: head/sys/netpfil/ipfw/ip_fw_log.c Modified: head/sys/netpfil/ipfw/ip_fw_log.c ============================================================================== --- head/sys/netpfil/ipfw/ip_fw_log.c Sun Nov 8 13:37:16 2015 (r290544) +++ head/sys/netpfil/ipfw/ip_fw_log.c Sun Nov 8 13:44:21 2015 (r290545) @@ -352,7 +352,7 @@ ipfw_log(struct ip_fw_chain *chain, stru break; case O_SETFIB: snprintf(SNPARGS(action2, 0), "SetFib %d", - TARG(cmd->arg1, fib)); + TARG(cmd->arg1, fib) & 0x7FFF); break; case O_SKIPTO: snprintf(SNPARGS(action2, 0), "SkipTo %d",