diff --git a/debian/patches/0004-Allow-same-outbound-interface-as-inbound.patch b/debian/patches/0004-Allow-same-outbound-interface-as-inbound.patchdeleted file mode 100644index fa32256..0000000--- a/debian/patches/0004-Allow-same-outbound-interface-as-inbound.patch+++ /dev/null@@ -1,96 +0,0 @@-commit 802d82eb5c571afe2a294fd302745bf37cc13a1d-Author: Joachim Nilsson <troglobit@gmail.com>-Date: Sun Feb 10 13:56:17 2019 +0100-- Allow same outbound interface as inbound, only warn user- - Routing back multicast to the same interface it ingressed on is- quite a bit dangerous, but there may be use-cases where this is- a requirement so we should not artificially limit the user.- - Also, allowing this means enabling unit testing on systems with- only one interface.- - Signed-off-by: Joachim Nilsson <troglobit@gmail.com>--diff --git a/src/conf.c b/src/conf.c-index 974871a..d1fbeed 100644---- a/src/conf.c-+++ b/src/conf.c-@@ -31,6 +31,8 @@- #define MAX_LINE_LEN 512- #define DEBUG(fmt, args...) \- smclog(LOG_DEBUG, "%s:%02d: " fmt, conf, lineno, ##args)-+#define INFO(fmt, args...) \-+ smclog(LOG_INFO, "%s:%02d: " fmt, conf, lineno, ##args)- #define WARN(fmt, args...) \- smclog(LOG_WARNING, "%s:%02d: " fmt, conf, lineno, ##args)- -@@ -166,13 +168,9 @@ static int add_mroute(int lineno, char *ifname, char *group, char *source, char- iface_match_init(&state_out);- while ((mif = iface_match_mif_by_name(outbound[i], &state_out, &iface)) >= 0) {- if (mif == mroute.inbound) {-- state_out.match_count--;-- /* In case of wildcard matches, in==out is-- * quite normal, so don't complain-- */-+ /* In case of wildcard match in==out is normal, so don't complain */- if (!ifname_is_wildcard(ifname) && !ifname_is_wildcard(outbound[i]))-- WARN("Same outbound IPv6 interface (%s) as inbound (%s)?", outbound[i], ifname);-- continue;-+ INFO("Same outbound IPv6 interface (%s) as inbound (%s) may cause routing loops.", outbound[i], ifname);- }- - /* Use a TTL threshold to indicate the list of outbound interfaces. */-@@ -237,13 +235,9 @@ static int add_mroute(int lineno, char *ifname, char *group, char *source, char- iface_match_init(&state_out);- while ((vif = iface_match_vif_by_name(outbound[i], &state_out, &iface)) >= 0) {- if (vif == mroute.inbound) {-- state_out.match_count--;-+ /* In case of wildcard match in==out is normal, so don't complain */- if (!ifname_is_wildcard(ifname) && !ifname_is_wildcard(outbound[i]))-- /* In case of wildcard matches, in==out is-- * quite normal, so don't complain-- */-- WARN("Same outbound IPv4 interface (%s) as inbound (%s)?", outbound[i], ifname);-- continue;-+ INFO("Same outbound IPv4 interface (%s) as inbound (%s) may cause routing loops.", outbound[i], ifname);- }- - /* Use a TTL threshold to indicate the list of outbound interfaces. */-diff --git a/src/msg.c b/src/msg.c-index ea3f03b..1dcb459 100644---- a/src/msg.c-+++ b/src/msg.c-@@ -179,13 +179,9 @@ static int do_mroute4(struct ipc_msg *msg)- iface_match_init(&state_out);- while ((vif = iface_match_vif_by_name(ifname_out, &state_out, NULL)) >= 0) {- if (vif == mroute.inbound) {-- state_out.match_count--;-- /* In case of wildcard matches, in==out is-- * quite normal, so don't complain-- */-+ /* In case of wildcard match in==out is normal, so don't complain */- if (!ifname_is_wildcard(ifname_in) && !ifname_is_wildcard(ifname_out) && !errmsg++)-- smclog(LOG_WARNING, "Same outbound interface (%s) as inbound (%s)?", ifname_out, ifname_in);-- continue;-+ smclog(LOG_WARNING, "Same outbound interface (%s) as inbound (%s) may cause routing loops.", ifname_out, ifname_in);- }- mroute.ttl[vif] = 1; /* Use a TTL threshold */- total++;-@@ -267,13 +263,9 @@ static int do_mroute6(struct ipc_msg *msg)- iface_match_init(&state_out);- while ((mif = iface_match_mif_by_name(ifname_out, &state_out, NULL)) >= 0) {- if (mif == mroute.inbound) {-- state_out.match_count--;-- /* In case of wildcard matches, in==out is-- * quite normal, so don't complain-- */-+ /* In case of wildcard match in==out is normal, so don't complain */- if (!ifname_is_wildcard(ifname_in) && !ifname_is_wildcard(ifname_out) && !errmsg++)-- smclog(LOG_WARNING, "Same outbound interface (%s) as inbound (%s)?", ifname_out, ifname_in);-- continue;-+ smclog(LOG_INFO, "Same outbound interface (%s) as inbound (%s) may cause routing loops.", ifname_out, ifname_in);- }- mroute.ttl[mif] = 1; /* Use a TTL threshold */- total++;diff --git a/debian/patches/series b/debian/patches/seriesindex 37cc211..a1db632 100644--- a/debian/patches/series+++ b/debian/patches/series@@ -1,2 +1 @@-0004-Allow-same-outbound-interface-as-inbound.patch 0005-fix-init-script-stop-command.patch