Browse Source

Merge pull request #956 from fissie/master

fix aiccu requiretls option handling
Steven Barth 10 years ago
parent
commit
da630205af
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      ipv6/aiccu/files/aiccu.sh

+ 1
- 1
ipv6/aiccu/files/aiccu.sh View File

@@ -36,7 +36,7 @@ proto_aiccu_setup() {
36 36
 	[ -n "$server" ] && echo "server $server" >> "$CFGFILE"
37 37
 	[ -n "$protocol" ] && echo "protocol $protocol" >> "$CFGFILE"
38 38
 	[ -n "$tunnelid" ] && echo "tunnel_id $tunnelid" >> "$CFGFILE"
39
-	[ -n "$requiretls" ] && echo "requiretls $requiretls" >> "$CFGFILE"
39
+	[ "$requiretls" == 1 ] && echo "requiretls true" >> "$CFGFILE"
40 40
 	[ "$nat" == 1 ] && echo "behindnat true" >> "$CFGFILE"
41 41
 	[ "$heartbeat" == 1 ] && echo "makebeats true" >> "$CFGFILE"
42 42
 	[ "$verbose" == 1 ] && echo "verbose true" >> "$CFGFILE"