Print proper setfib values in ipfw log.

Submitted by:	Denis Schneider <v1ne2go at gmail>
This commit is contained in:
Alexander V. Chernikov 2015-11-08 13:44:21 +00:00
parent b554a27822
commit 91e93daf9c

View File

@ -352,7 +352,7 @@ ipfw_log(struct ip_fw_chain *chain, struct ip_fw *f, u_int hlen,
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",