diff options
author | melifaro <melifaro@FreeBSD.org> | 2015-09-18 17:29:24 +0000 |
---|---|---|
committer | melifaro <melifaro@FreeBSD.org> | 2015-09-18 17:29:24 +0000 |
commit | 5496fd3096bf187ed2221f8f0290f9f119b06208 (patch) | |
tree | 7ab3e012c4c9d531d96fb628c7a3e79f93933434 /contrib/gcclibs/libcpp/identifiers.c | |
parent | 26a0cf375aceedb2911b79b762cbc4f28510040a (diff) | |
download | FreeBSD-src-5496fd3096bf187ed2221f8f0290f9f119b06208.zip FreeBSD-src-5496fd3096bf187ed2221f8f0290f9f119b06208.tar.gz |
MFC r266310
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,kern/200169
Diffstat (limited to 'contrib/gcclibs/libcpp/identifiers.c')
0 files changed, 0 insertions, 0 deletions