From: Alan T. DeKok Date: Tue, 7 Apr 2020 13:09:24 +0000 (-0400) Subject: allow receiving CoA packets on TLS listeners, too. Helps with #3356 X-Git-Tag: release_3_0_22~620 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc2bee13f33aef6376eb71576b8fed58b3ff2297;p=thirdparty%2Ffreeradius-server.git allow receiving CoA packets on TLS listeners, too. Helps with #3356 --- diff --git a/src/main/tls_listen.c b/src/main/tls_listen.c index 8b1e63c568a..c65049e2d74 100644 --- a/src/main/tls_listen.c +++ b/src/main/tls_listen.c @@ -391,6 +391,20 @@ redo: break; #endif +#ifdef WITH_COA + case PW_CODE_COA_REQUEST: + if (listener->type != RAD_LISTEN_COA) goto bad_packet; + FR_STATS_INC(coa, total_requests); + fun = rad_coa_recv; + break; + + case PW_CODE_DISCONNECT_REQUEST: + if (listener->type != RAD_LISTEN_COA) goto bad_packet; + FR_STATS_INC(dsc, total_requests); + fun = rad_coa_recv; + break; +#endif + case PW_CODE_STATUS_SERVER: if (!main_config.status_server) { FR_STATS_INC(auth, total_unknown_types);