freebsd-skq/sbin/ipfw
Alexander V. Chernikov c3015737f3 Fix wrong formatting of 0.0.0.0/X table records in ipfw(8).
Add `flags` u16 field to the hole in ipfw_table_xentry structure.
Kernel has been guessing address family for supplied record based
on xent length size.
Userland, however, has been getting fixed-size ipfw_table_xentry structures
guessing address family by checking address by IN6_IS_ADDR_V4COMPAT().

Fix this behavior by providing specific IPFW_TCF_INET flag for IPv4 records.

PR:		bin/189471
Submitted by:	Dennis Yusupoff <dyr@smartspb.net>
MFC after:	2 weeks
2014-05-17 13:45:03 +00:00
..
altq.c
dummynet.c
ipfw2.c Fix wrong formatting of 0.0.0.0/X table records in ipfw(8). 2014-05-17 13:45:03 +00:00
ipfw2.h Fix world build WITHOUT_PF. 2014-02-12 09:59:48 +00:00
ipfw.8 Minor grammar fix 2013-12-21 21:56:12 +00:00
ipv6.c Implement buffer size checking in ipfw(8) add cmd. 2013-03-03 14:05:03 +00:00
main.c
Makefile Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
nat.c