Quellcode durchsuchen

add line breaks

abhishek9686 vor 1 Jahr
Ursprung
Commit
cf07f667eb
1 geänderte Dateien mit 12 neuen und 12 gelöschten Zeilen
  1. 12 12
      controllers/ext_client.go

+ 12 - 12
controllers/ext_client.go

@@ -269,18 +269,18 @@ func getExtClientConf(w http.ResponseWriter, r *http.Request) {
 		}
 	}
 
-	config := fmt.Sprintf(`[Interface]
-Address = %s
-PrivateKey = %s
-MTU = %d
-%s
-%s
-%s
-
-[Peer]
-PublicKey = %s
-AllowedIPs = %s
-Endpoint = %s
+	config := fmt.Sprintf(`[Interface]\n
+Address = %s\n
+PrivateKey = %s\n
+MTU = %d\n
+%s\n
+%s\n
+%s\n
+
+[Peer]\n
+PublicKey = %s\n
+AllowedIPs = %s\n
+Endpoint = %s\n
 %s
 
 `, addrString,