From 064dde3efe0bd2dcbcd7217f29c8e3f64922401e Mon Sep 17 00:00:00 2001 From: Eugene Grosbein Date: Mon, 22 Jun 2020 17:25:21 +0000 Subject: [PATCH] network.subr: unobsolete gif_interfaces There are cases when gif_interfaces cannot be replaced with cloned_interfaces, such as tunnels with external IPv6 addresses and internal IPv4 or vice versa. Such configuration requires extra invocation of ifconfig(8) and supported with gif_interfaces only. MFC after: 1 week --- libexec/rc/network.subr | 3 --- 1 file changed, 3 deletions(-) diff --git a/libexec/rc/network.subr b/libexec/rc/network.subr index a92eb9ce2149..1a83421b87b2 100644 --- a/libexec/rc/network.subr +++ b/libexec/rc/network.subr @@ -1369,9 +1369,6 @@ clone_up() fi esac done - if [ -n "$gif_interfaces" ]; then - warn "\$gif_interfaces is obsolete. Use \$cloned_interfaces instead." - fi for ifn in ${gif_interfaces}; do # Parse ifn:ifopt. OIFS=$IFS; IFS=:; set -- $ifn; ifn=$1; ifopt=$2; IFS=$OIFS