git: bfa812f5407b - main - rtsold: auto-probe point to point interfaces

Mark Johnston markj at FreeBSD.org
Sat Aug 14 15:22:25 UTC 2021


The branch main has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=bfa812f5407bddac2bcced290a09bd3e686e354a

commit bfa812f5407bddac2bcced290a09bd3e686e354a
Author:     Franco Fitchner <franco at opnsense.org>
AuthorDate: 2021-08-14 15:08:07 +0000
Commit:     Mark Johnston <markj at FreeBSD.org>
CommitDate: 2021-08-14 15:14:24 +0000

    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
---
 usr.sbin/rtsold/rtsold.8 | 4 ++--
 usr.sbin/rtsold/rtsold.c | 2 --
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/usr.sbin/rtsold/rtsold.8 b/usr.sbin/rtsold/rtsold.8
index e30a07f3a3fe..273a2b4f0dd8 100644
--- a/usr.sbin/rtsold/rtsold.8
+++ b/usr.sbin/rtsold/rtsold.8
@@ -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.
diff --git a/usr.sbin/rtsold/rtsold.c b/usr.sbin/rtsold/rtsold.c
index c1594ec7420a..592321f59aca 100644
--- a/usr.sbin/rtsold/rtsold.c
+++ b/usr.sbin/rtsold/rtsold.c
@@ -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)


More information about the dev-commits-src-all mailing list