svn commit: r339462 - head/libexec/rc

Eugene Grosbein eugen at FreeBSD.org
Sat Oct 20 18:01:49 UTC 2018


Author: eugen
Date: Sat Oct 20 18:01:48 2018
New Revision: 339462
URL: https://svnweb.freebsd.org/changeset/base/339462

Log:
  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
  MFC after:	1 month

Modified:
  head/libexec/rc/network.subr

Modified: head/libexec/rc/network.subr
==============================================================================
--- head/libexec/rc/network.subr	Sat Oct 20 18:01:15 2018	(r339461)
+++ head/libexec/rc/network.subr	Sat Oct 20 18:01:48 2018	(r339462)
@@ -1393,7 +1393,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-head mailing list