aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config.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.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.c')
-rw-r--r--wpa_supplicant/config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/wpa_supplicant/config.c b/wpa_supplicant/config.c
index afb631e..2120a6e 100644
--- a/wpa_supplicant/config.c
+++ b/wpa_supplicant/config.c
@@ -2126,6 +2126,7 @@ static const struct parse_data ssid_fields[] = {
#ifdef CONFIG_MACSEC
{ INT_RANGE(macsec_policy, 0, 1) },
{ INT_RANGE(macsec_integ_only, 0, 1) },
+ { INT_RANGE(macsec_port, 1, 65534) },
{ FUNC_KEY(mka_cak) },
{ FUNC_KEY(mka_ckn) },
#endif /* CONFIG_MACSEC */