[Bug 294733] ipfw ::/0 expands to me6

[email protected] Mon, 25 May 2026 07:06:11 +0000
Newsgroups gmane.os.freebsd.devel.ipfw
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D294733

--- Comment #2 from [email protected] ---
A commit in branch stable/15 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=3D9acea8aa36e98d636f8d183ac06ec5d2d=
25de0e1

commit 9acea8aa36e98d636f8d183ac06ec5d2d25de0e1
Author:     Andrey V. Elsukov <[email protected]>
AuthorDate: 2026-05-17 10:12:20 +0000
Commit:     Andrey V. Elsukov <[email protected]>
CommitDate: 2026-05-25 07:03:05 +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
    Differential Revision:  https://reviews.freebsd.org/D56618

    (cherry picked from commit 2872268c7f6d473aae9b02ebb5d2c24fc2cff9b1)

 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(-)

--=20
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.=