--- embedaddon/mpd/src/input.c 2021/03/17 00:39:23 1.1.1.2 +++ embedaddon/mpd/src/input.c 2023/09/27 11:08:00 1.1.1.2.2.1 @@ -101,9 +101,16 @@ InputDispatch(Bund b, Link l, int proto, Mbuf bp) return(0); case PROTO_PAP: case PROTO_CHAP: + AuthInput(l, proto, bp); + return(0); case PROTO_EAP: +#ifdef USE_RADIUS AuthInput(l, proto, bp); return(0); +#else + reject = 1; + goto done; +#endif case PROTO_MP: if (!Enabled(&l->conf.options, LINK_CONF_MULTILINK)) reject = 1;