Date: Wed, 09 Feb 2022 12:22:07 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 259553] add host 127.0.0.1: gateway lo0 fib 0: route already in table Message-ID: <bug-259553-227-3NAX2DWO7z@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-259553-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259553 Nick Hibma <nick@van-laarhoven.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |melifaro@FreeBSD.org, | |nick@van-laarhoven.org --- Comment #2 from Nick Hibma <nick@van-laarhoven.org> --- I find these errors annoying as well. If I am not mistaken this addition of the route to the interface's net is done already in netinet/in.c:1581 (12.3) : /* * Add route for the network. */ if (vhid == 0) { int flags = RTF_UP; if (ifp->if_flags & (IFF_LOOPBACK|IFF_POINTOPOINT)) flags |= RTF_HOST; error = in_addprefix(ia, flags); if (error) goto fail1; } So, the addition of _loopback for the inet and inet6 case can be removed IMHO. Adding melifaro to CC:. He made changes in in.c related to this (https://reviews.freebsd.org/D28246) handling PR #252883 -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-259553-227-3NAX2DWO7z>
