]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix formatting of setfib opcode.
authorAndrey V. Elsukov <ae@FreeBSD.org>
Mon, 8 Aug 2016 18:30:50 +0000 (18:30 +0000)
committerAndrey V. Elsukov <ae@FreeBSD.org>
Mon, 8 Aug 2016 18:30:50 +0000 (18:30 +0000)
commitb055e3be51d83aaa5929d95a218bc86aea36a1ef
treea48db88c92849d268690e2c6c8a7eca03ab3057c
parent6597f1f81f2afe0e696d0b1a3255dc5488dc8bca
Fix formatting of setfib opcode.

Zero fib is correct value and it conflicts with IP_FW_TARG.
Use bprint_uint_arg() only when opcode contains IP_FW_TARG,
otherwise just print numeric value with cleared high-order bit.

MFC after: 3 days
sbin/ipfw/ipfw2.c