From 3c36368a1567eb76ba5dfaec26b1fb0c6c7f7fe9 Mon Sep 17 00:00:00 2001 From: Eugene Grosbein Date: Sat, 20 Oct 2018 18:01:48 +0000 Subject: [PATCH] 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 --- libexec/rc/network.subr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libexec/rc/network.subr b/libexec/rc/network.subr index af2b2147a05f..67870efe1c5b 100644 --- a/libexec/rc/network.subr +++ b/libexec/rc/network.subr @@ -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# }."