Date: Sun, 8 Nov 2015 13:44:21 +0000 (UTC) From: "Alexander V. Chernikov" <melifaro@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r290545 - head/sys/netpfil/ipfw Message-ID: <201511081344.tA8DiL42074911@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <v1ne2go at gmail> 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",
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201511081344.tA8DiL42074911>