[Bug 294733] ipfw ::/0 expands to me6
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 294733] ipfw ::/0 expands to me6"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 17 May 2026 10:15:34 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294733
--- Comment #1 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=2872268c7f6d473aae9b02ebb5d2c24fc2cff9b1
commit 2872268c7f6d473aae9b02ebb5d2c24fc2cff9b1
Author: Andrey V. Elsukov <ae@FreeBSD.org>
AuthorDate: 2026-05-17 10:12:20 +0000
Commit: Andrey V. Elsukov <ae@FreeBSD.org>
CommitDate: 2026-05-17 10:12:20 +0000
ipfw: treat ipv6 address with zero mask as 'any'
Make the behaviour similar for both IPv4 and IPv6. Also add
the corresponding tests.
PR: 294733
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D56618
sbin/ipfw/ipfw2.c | 7 ++++---
sbin/ipfw/ipv6.c | 11 +++++++----
sbin/ipfw/tests/test_add_rule.py | 24 ++++++++++++++++++++++++
tests/atf_python/sys/netpfil/ipfw/insns.py | 2 ++
4 files changed, 37 insertions(+), 7 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.