aboutsummaryrefslogtreecommitdiffstats
path: root/eap_example
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2014-12-04 10:38:06 (GMT)
committerJouni Malinen <j@w1.fi>2014-12-04 10:38:06 (GMT)
commitebdfdf1b9c87366725a336992359a1be0ef26b11 (patch)
tree31db833eb98cc3fe81222cac920efd79527d18fe /eap_example
parentacc9a635c833b0f8a00ed7276f0298837f433526 (diff)
downloadhostap-ebdfdf1b9c87366725a336992359a1be0ef26b11.zip
hostap-ebdfdf1b9c87366725a336992359a1be0ef26b11.tar.gz
hostap-ebdfdf1b9c87366725a336992359a1be0ef26b11.tar.bz2
eap_example: Get rid of a compiler warning
Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'eap_example')
-rw-r--r--eap_example/eap_example_peer.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/eap_example/eap_example_peer.c b/eap_example/eap_example_peer.c
index bfeafa0..2ffc9fc 100644
--- a/eap_example/eap_example_peer.c
+++ b/eap_example/eap_example_peer.c
@@ -27,6 +27,7 @@ struct eap_peer_ctx {
Boolean portEnabled;
Boolean altAccept; /* for EAP */
Boolean altReject; /* for EAP */
+ Boolean eapTriggerStart;
struct wpabuf *eapReqData; /* for EAP */
@@ -71,6 +72,8 @@ static Boolean peer_get_bool(void *ctx, enum eapol_bool_var variable)
return peer->altAccept;
case EAPOL_altReject:
return peer->altReject;
+ case EAPOL_eapTriggerStart:
+ return peer->eapTriggerStart;
}
return FALSE;
}
@@ -110,6 +113,9 @@ static void peer_set_bool(void *ctx, enum eapol_bool_var variable,
case EAPOL_altReject:
peer->altReject = value;
break;
+ case EAPOL_eapTriggerStart:
+ peer->eapTriggerStart = value;
+ break;
}
}