1 |
commit: dea30db8062977dc9b8a2c8611f09cf8c891d36f |
2 |
Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 31 05:52:43 2020 +0000 |
4 |
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 31 05:52:47 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/netifrc.git/commit/?id=dea30db8 |
7 |
|
8 |
net/ip6to4: partial fix for bug #528314 |
9 |
|
10 |
netifrc has never clearly documented exactly what shell is targeted, and |
11 |
this bug does not occur on any shell that supports the 'local' keyword. |
12 |
|
13 |
Reference: https://bugs.gentoo.org/528314 |
14 |
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org> |
15 |
|
16 |
net/ip6to4.sh | 4 ++-- |
17 |
1 file changed, 2 insertions(+), 2 deletions(-) |
18 |
|
19 |
diff --git a/net/ip6to4.sh b/net/ip6to4.sh |
20 |
index 21acd71..6b573d1 100644 |
21 |
--- a/net/ip6to4.sh |
22 |
+++ b/net/ip6to4.sh |
23 |
@@ -103,8 +103,8 @@ ip6to4_pre_start() |
24 |
|
25 |
ip6to4_start() |
26 |
{ |
27 |
- local config_ip6to4=$(service_get_value "config_ip6to4_$IFVAR") |
28 |
- local routes_ip6to4=$(service_get_value "routes_ip6to4_$IFVAR") |
29 |
+ local config_ip6to4="$(service_get_value "config_ip6to4_$IFVAR")" |
30 |
+ local routes_ip6to4="$(service_get_value "routes_ip6to4_$IFVAR")" |
31 |
|
32 |
# Now apply our config |
33 |
eval config_${config_index}=\'"${config_ip6to4}"\' |