Date: Sat, 14 Aug 2021 15:22:24 GMT From: Mark Johnston <markj@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: bfa812f5407b - main - rtsold: auto-probe point to point interfaces Message-ID: <202108141522.17EFMOxm029563@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=bfa812f5407bddac2bcced290a09bd3e686e354a commit bfa812f5407bddac2bcced290a09bd3e686e354a Author: Franco Fitchner <franco@opnsense.org> AuthorDate: 2021-08-14 15:08:07 +0000 Commit: Mark Johnston <markj@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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202108141522.17EFMOxm029563>