[Bug 269787] d2deebe21b59 breaks kernel without INET6

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 23 Feb 2023 20:00:04 UTC

            Bug ID: 269787
           Summary: d2deebe21b59 breaks kernel without INET6
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: bugs.fbsd@paepcke.de

+       case AF_INET6:
+               nh->gw6_sa.sin6_family = AF_INET6;
+               nh->gw6_sa.sin6_len = sizeof(struct sockaddr_in6);
+               nh->gw6_sa.sin6_addr = in6addr_loopback;

needs some ifdef guarding.

Thank you!

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