From a616bf8bb04c1eed021b4d517cbcf2a3be09fd4e Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Mon, 11 Feb 2019 18:54:10 +0100 Subject: [PATCH] smcroute.8: Clarify, loopback *is* supported Any IFF_MULTICAST enabled network interface can route multicast. This was fixed in v2.2.2 Signed-off-by: Joachim Nilsson --- smcroute.8 | 4 ++-- src/mroute.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/smcroute.8 b/smcroute.8 index cb64f27d..843d6609 100644 --- a/smcroute.8 +++ b/smcroute.8 @@ -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 diff --git a/src/mroute.c b/src/mroute.c index 64b469fe..49dc29e5 100644 --- a/src/mroute.c +++ b/src/mroute.c @@ -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); @@ -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);