Date: Sat, 21 Aug 2021 17:59:09 GMT From: Mark Johnston <markj@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 66f390ffaf0c - stable/13 - rtsold: auto-probe point to point interfaces Message-ID: <202108211759.17LHx9BE008033@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=66f390ffaf0cd12b6860a4139f81f4aed9a05414 commit 66f390ffaf0cd12b6860a4139f81f4aed9a05414 Author: Franco Fitchner <franco@opnsense.org> AuthorDate: 2021-08-14 15:08:07 +0000 Commit: Mark Johnston <markj@FreeBSD.org> CommitDate: 2021-08-21 16:10:14 +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 (cherry picked from commit bfa812f5407bddac2bcced290a09bd3e686e354a) --- 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 5e5298bfdadc..f58574cec731 100644 --- a/usr.sbin/rtsold/rtsold.c +++ b/usr.sbin/rtsold/rtsold.c @@ -846,8 +846,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?202108211759.17LHx9BE008033>