Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Nov 2019 06:00:04 +0000
From:      bugzilla-noreply@freebsd.org
To:        ipfw@FreeBSD.org
Subject:   [Bug 242201] ipfw - option 'ipversion 6' not working
Message-ID:  <bug-242201-8303-kjYs39b5De@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-242201-8303@https.bugs.freebsd.org/bugzilla/>
References:  <bug-242201-8303@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242201

--- Comment #2 from Freddy DISSAUX <dsx@bsdsx.fr> ---
The flag is_ipv6 is set by:

...
        /* Identify IP packets and fill up variables. */
        if (pktlen >=3D sizeof(struct ip6_hdr) &&
            (eh =3D=3D NULL || eh->ether_type =3D=3D htons(ETHERTYPE_IPV6))=
 &&
            ip->ip_v =3D=3D 6) {
                struct ip6_hdr *ip6 =3D (struct ip6_hdr *)ip;

                is_ipv6 =3D 1;
...

Test ip->ip_v seems correct

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-242201-8303-kjYs39b5De>