svn commit: r339679 - stable/11/etc

Eugene Grosbein eugen at FreeBSD.org
Wed Oct 24 05:14:03 UTC 2018


Author: eugen
Date: Wed Oct 24 05:14:02 2018
New Revision: 339679
URL: https://svnweb.freebsd.org/changeset/base/339679

Log:
  MFC r339462: make upgrade from previous FreeBSD versions less painful
  and make previously working configuration like this work again:
  
  gif_interfaces="gif0"
  gifconfig_gif0="1.1.1.1 2.2.2.2"
  ifconfig_gif0="inet 192.168.1.1 192.168.1.2 netmask 255.255.255.252"
  
  PR:		204700

Modified:
  stable/11/etc/network.subr
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/etc/network.subr
==============================================================================
--- stable/11/etc/network.subr	Wed Oct 24 03:14:10 2018	(r339678)
+++ stable/11/etc/network.subr	Wed Oct 24 05:14:02 2018	(r339679)
@@ -1408,7 +1408,7 @@ clone_up()
 			_list="$_list $ifn"
 		fi
 		tmpargs=$(get_if_var $ifn gifconfig_IF)
-		eval ifconfig_${ifn}=\"tunnel \$tmpargs\"
+		eval ifconfig_${ifn}=\"\$ifconfig_${ifn} tunnel \$tmpargs\"
 	done
 	if [ -n "${_list# }" ]; then
 		echo "Created clone interfaces: ${_list# }."


More information about the svn-src-all mailing list