svn commit: r362502 - head/libexec/rc

Eugene Grosbein eugen at FreeBSD.org
Mon Jun 22 17:25:22 UTC 2020


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


More information about the svn-src-all mailing list