summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils
diff options
context:
space:
mode:
authordarrenr <darrenr@NetBSD.org>2004-12-16 17:01:02 +0000
committerdarrenr <darrenr@NetBSD.org>2004-12-16 17:01:02 +0000
commitf314fbb0f15201bf2250204249195d9f38ffba72 (patch)
treec5c27b9300cd2efbe90e5f64d615dc629f397d7a /gnu/usr.bin/binutils
parentd7859a0415855947d8b9e2b84c406f5acb03e272 (diff)
Expand out an unused byte to give each NAT rule a protocol version field,
allowing rules to be set to match only ipv4/ipv6. And so ipnat must be updated to actually set this field correctly but to keep things working for old versions of ipnat (that will set this to 0), make the ioctl handler "update" the 0 to a 4 to keep things working when people just upgrade kernels. This forces NAT rule matching to be limited to ipv4 only, here forward, fixing kern/28662
Diffstat (limited to 'gnu/usr.bin/binutils')
0 files changed, 0 insertions, 0 deletions