From 481c4410e78d04d0b83674ccf5d3fff4ef4aa487 Mon Sep 17 00:00:00 2001 From: eugen Date: Wed, 24 Oct 2018 05:15:46 +0000 Subject: [PATCH] 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 git-svn-id: svn://svn.freebsd.org/base/stable/10@339680 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- etc/network.subr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/network.subr b/etc/network.subr index ed8c0ea84..b919de735 100644 --- a/etc/network.subr +++ b/etc/network.subr @@ -1335,7 +1335,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# }." -- 2.42.0