Skip to content

Commit e5e8b1e

Browse files
authored
fix ipv6 config file
1 parent 3b3e62c commit e5e8b1e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

misc/build.func

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -241,8 +241,7 @@ PW="${PW##-password }"
241241
HN="${HN}"
242242
BRG="${BRG}"
243243
NET="${NET}"
244-
IPV6_METHOD="${IPV6_METHOD}"
245-
244+
IPV6_METHOD="${IPV6_METHOD:-none}"
246245
# Set this only if using "IPV6_METHOD=static"
247246
#IPV6STATIC="fd00::1234/64"
248247

@@ -279,7 +278,7 @@ PW="${PW##-password }"
279278
HN="${HN}"
280279
BRG="${BRG}"
281280
NET="${NET}"
282-
IPV6_METHOD="${IPV6_METHOD}"
281+
IPV6_METHOD="${IPV6_METHOD:-none}"
283282

284283
# Set this only if using "IPV6_METHOD=static"
285284
#IPV6STATIC="fd00::1234/64"

0 commit comments

Comments
 (0)