aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config_file.c
diff options
context:
space:
mode:
authorSabrina Dubroca <sd@queasysnail.net>2016-11-02 15:38:39 (GMT)
committerJouni Malinen <j@w1.fi>2016-11-19 22:35:31 (GMT)
commite0d9fd344d20bb35efcd5c37ece0a5d67632439d (patch)
tree47cd6cf33f914ebaaccf2d8c7829d9c4f22f7c5c /wpa_supplicant/config_file.c
parent1d3d0666a6ed345da39886426c4416a4debfd094 (diff)
downloadhostap-e0d9fd344d20bb35efcd5c37ece0a5d67632439d.zip
hostap-e0d9fd344d20bb35efcd5c37ece0a5d67632439d.tar.gz
hostap-e0d9fd344d20bb35efcd5c37ece0a5d67632439d.tar.bz2
wpa_supplicant: Allow configuring the MACsec port for MKA
Previously, wpa_supplicant only supported hardcoded port == 1 in the SCI, but users may want to choose a different port. Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Diffstat (limited to 'wpa_supplicant/config_file.c')
-rw-r--r--wpa_supplicant/config_file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/wpa_supplicant/config_file.c b/wpa_supplicant/config_file.c
index f605fa9..2e3d57e 100644
--- a/wpa_supplicant/config_file.c
+++ b/wpa_supplicant/config_file.c
@@ -809,6 +809,7 @@ static void wpa_config_write_network(FILE *f, struct wpa_ssid *ssid)
write_mka_cak(f, ssid);
write_mka_ckn(f, ssid);
INT(macsec_integ_only);
+ INT(macsec_port);
#endif /* CONFIG_MACSEC */
#ifdef CONFIG_HS20
INT(update_identifier);