Skip to content

Commit

Permalink
smcroute.8: Clarify, loopback *is* supported
Browse files Browse the repository at this point in the history
Any IFF_MULTICAST enabled network interface can route multicast.  This
was fixed in v2.2.2

Signed-off-by: Joachim Nilsson <[email protected]>
  • Loading branch information
troglobit committed Feb 11, 2019
1 parent 2110639 commit a616bf8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions smcroute.8
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,8 @@ The interfaces provided as
.Ar INIFNAME
and
.Ar OUTIFNAME
can be any network interface as listed by 'ifconfig' or 'ip link
list' (incl. tunnel interfaces), but not the loopback interface.
can be any multicast capable network interface as listed by 'ifconfig'
or 'ip link list' (incl. tunnel interfaces), including loopback.
.Pp
To add a (*,G) route, either leave
.Ar SOURCE
Expand Down
4 changes: 2 additions & 2 deletions src/mroute.c
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ int mroute4_enable(int do_vifs, int table_id, int timeout)
/* Initialize virtual interface table */
memset(&vif_list, 0, sizeof(vif_list));

/* Create virtual interfaces (VIFs) for all non-loopback interfaces supporting multicast */
/* Create virtual interfaces (VIFs) for all IFF_MULTICAST interfaces */
if (do_vifs) {
for (iface = iface_iterator(1); iface; iface = iface_iterator(0))
mroute4_add_vif(iface);
Expand Down Expand Up @@ -953,7 +953,7 @@ int mroute6_enable(int do_vifs, int table_id)
}
}
#endif
/* Create virtual interfaces, IPv6 MIFs, for all non-loopback interfaces */
/* Create virtual interfaces, IPv6 MIFs, for all IFF_MULTICAST interfaces */
if (do_vifs) {
for (iface = iface_iterator(1); iface; iface = iface_iterator(0))
mroute6_add_mif(iface);
Expand Down

0 comments on commit a616bf8

Please sign in to comment.