Skip to content

Commit c1edab7

Browse files
florianjacobkeszybz
authored andcommitted
resolved: consider pointopoint links for local multicast (systemd#6343)
Resolves systemd#6313.
1 parent 782c925 commit c1edab7

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/resolve/resolved-link.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ bool link_relevant(Link *l, int family, bool local_multicast) {
562562

563563
assert(l);
564564

565-
/* A link is relevant for local multicast traffic if it isn't a loopback or pointopoint device, has a link
565+
/* A link is relevant for local multicast traffic if it isn't a loopback device, has a link
566566
* beat, can do multicast and has at least one link-local (or better) IP address.
567567
*
568568
* A link is relevant for non-multicast traffic if it isn't a loopback device, has a link beat, and has at
@@ -575,9 +575,6 @@ bool link_relevant(Link *l, int family, bool local_multicast) {
575575
return false;
576576

577577
if (local_multicast) {
578-
if (l->flags & IFF_POINTOPOINT)
579-
return false;
580-
581578
if ((l->flags & IFF_MULTICAST) != IFF_MULTICAST)
582579
return false;
583580
}

0 commit comments

Comments
 (0)