[PATCH] Fix typo in eap_example_server.c

Sergei Sinyak serega.belarus at gmail.com
Sun Oct 23 08:58:44 PDT 2016


  The server sends only requests to the peer,
  and the peer sends only respones to the server.
---
 eap_example/eap_example_server.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eap_example/eap_example_server.c b/eap_example/eap_example_server.c
index a081b87..0524096 100644
--- a/eap_example/eap_example_server.c
+++ b/eap_example/eap_example_server.c
@@ -277,7 +277,7 @@ int eap_example_server_step(void)
 	}
 
 	if (process && eap_ctx.eap_if->eapReqData) {
-		/* Send EAP response to the server */
+		/* Send EAP request to the peer */
 		eap_example_peer_rx(wpabuf_head(eap_ctx.eap_if->eapReqData),
 				    wpabuf_len(eap_ctx.eap_if->eapReqData));
 	}
-- 
2.10.1




More information about the Hostap mailing list