commit:     dea30db8062977dc9b8a2c8611f09cf8c891d36f
Author:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Sun May 31 05:52:43 2020 +0000
Commit:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Sun May 31 05:52:47 2020 +0000
URL:        https://gitweb.gentoo.org/proj/netifrc.git/commit/?id=dea30db8

net/ip6to4: partial fix for bug #528314

netifrc has never clearly documented exactly what shell is targeted, and
this bug does not occur on any shell that supports the 'local' keyword.

Reference: https://bugs.gentoo.org/528314
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>

 net/ip6to4.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net/ip6to4.sh b/net/ip6to4.sh
index 21acd71..6b573d1 100644
--- a/net/ip6to4.sh
+++ b/net/ip6to4.sh
@@ -103,8 +103,8 @@ ip6to4_pre_start()
 
 ip6to4_start()
 {
-       local config_ip6to4=$(service_get_value "config_ip6to4_$IFVAR")
-       local routes_ip6to4=$(service_get_value "routes_ip6to4_$IFVAR")
+       local config_ip6to4="$(service_get_value "config_ip6to4_$IFVAR")"
+       local routes_ip6to4="$(service_get_value "routes_ip6to4_$IFVAR")"
 
        # Now apply our config
        eval config_${config_index}=\'"${config_ip6to4}"\'

Reply via email to