From: Sreenath Sharma Date: Mon, 28 Apr 2014 11:57:47 +0000 (+0530) Subject: HS 2.0 R2: Fix writing of domain_suffix_match cred parameter X-Git-Tag: hostap_2_2~195 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fa258a3df61b00b92eafc4b3a763950a068ef86b;p=thirdparty%2Fhostap.git HS 2.0 R2: Fix writing of domain_suffix_match cred parameter This was supposed to end with a newline character so that parameters are aligned in configuration file. Signed-off-by: Sreenath Sharma --- diff --git a/wpa_supplicant/config_file.c b/wpa_supplicant/config_file.c index 384294675..3a7adc2b6 100644 --- a/wpa_supplicant/config_file.c +++ b/wpa_supplicant/config_file.c @@ -775,7 +775,7 @@ static void wpa_config_write_cred(FILE *f, struct wpa_cred *cred) for (i = 0; i < cred->num_domain; i++) fprintf(f, "\tdomain=\"%s\"\n", cred->domain[i]); if (cred->domain_suffix_match) - fprintf(f, "\tdomain_suffix_match=\"%s\"", + fprintf(f, "\tdomain_suffix_match=\"%s\"\n", cred->domain_suffix_match); if (cred->roaming_consortium_len) { fprintf(f, "\troaming_consortium=");