Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jun 2020 17:25:21 +0000 (UTC)
From:      Eugene Grosbein <eugen@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r362502 - head/libexec/rc
Message-ID:  <202006221725.05MHPLic095179@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: eugen
Date: Mon Jun 22 17:25:21 2020
New Revision: 362502
URL: https://svnweb.freebsd.org/changeset/base/362502

Log:
  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

Modified:
  head/libexec/rc/network.subr

Modified: head/libexec/rc/network.subr
==============================================================================
--- head/libexec/rc/network.subr	Mon Jun 22 16:05:00 2020	(r362501)
+++ head/libexec/rc/network.subr	Mon Jun 22 17:25:21 2020	(r362502)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202006221725.05MHPLic095179>