X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Feap.c;h=b758711117948eb29c6b0a0ce6221f5c2e641e41;hb=4e2c49755175d05f7f4a3c1c70a42d2eef9d7839;hp=9773ae2add5ac114803487bc88c5d0dd3e9d4439;hpb=812e8e5c87da4fd84ae7bc5b6a18c85106188eb3;p=ppp.git diff --git a/pppd/eap.c b/pppd/eap.c index 9773ae2..b758711 100644 --- a/pppd/eap.c +++ b/pppd/eap.c @@ -67,6 +67,9 @@ #include "pathnames.h" #include "md5.h" #include "eap.h" +#ifdef USE_PEAP +#include "peap.h" +#endif /* USE_PEAP */ #ifdef USE_SRP #ifdef HAVE_TIME_H @@ -2216,6 +2219,11 @@ eap_request(eap_state *esp, u_char *inp, int id, int len) break; #endif /* CHAPMS */ +#ifdef USE_PEAP + case EAPT_PEAP: + peap_process(esp, id, inp, len, rhostname); + break; +#endif /* USE_PEAP */ default: info("EAP: unknown authentication type %d; Naking", typenum);