]> git.ipfire.org Git - people/ms/network.git/commitdiff
wpa_supplication: Correctly escape SSIDs with spaces
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 3 Aug 2017 09:26:14 +0000 (09:26 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 3 Aug 2017 09:26:14 +0000 (09:26 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/functions/functions.wpa_supplicant

index 9450112759e14d8df75daa99a1ddb89f23941c3f..ff76415cfef38ca5ade476c1001e51874117da28 100644 (file)
@@ -159,7 +159,7 @@ wpa_supplicant_config_write() {
                fi
 
                if isset ssid; then
-                       print " ssid=${ssid}"
+                       print " ssid=\"${ssid}\""
                fi
 
                if isset key; then