rtsold: auto-probe point to point interfaces

rtsold works fine for point to point interfaces in manual mode but will
not auto-probe them.

Reviewed by:	markj
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D31517
This commit is contained in:
Franco Fitchner 2021-08-14 11:08:07 -04:00 committed by Mark Johnston
parent 42375556e5
commit bfa812f540
2 changed files with 2 additions and 4 deletions

View file

@ -29,7 +29,7 @@
.\"
.\" $FreeBSD$
.\"
.Dd August 19, 2020
.Dd August 14, 2021
.Dt RTSOLD 8
.Os
.\"
@ -167,7 +167,7 @@ The options are as follows:
.It Fl a
Autoprobe outgoing interfaces.
.Nm
will try to find any non-loopback, non-point-to-point, IPv6-capable interfaces
will try to find any non-loopback, IPv6-capable interfaces
and send router solicitation messages on all of them.
.It Fl d
Enable debugging.

View file

@ -843,8 +843,6 @@ autoifprobe(void)
for (ifa = ifap; ifa; ifa = ifa->ifa_next) {
if ((ifa->ifa_flags & IFF_UP) == 0)
continue;
if ((ifa->ifa_flags & IFF_POINTOPOINT) != 0)
continue;
if ((ifa->ifa_flags & IFF_LOOPBACK) != 0)
continue;
if ((ifa->ifa_flags & IFF_MULTICAST) == 0)