anything else means ignoring the RFC, and ignoring what the
end user really wants
case PW_CODE_STATUS_SERVER:
switch (radclient_get_code(request->packet->dst_port)) {
+ default:
case PW_CODE_ACCESS_REQUEST:
request->filter_code = PW_CODE_ACCESS_ACCEPT;
break;
case PW_CODE_ACCOUNTING_REQUEST:
request->filter_code = PW_CODE_ACCOUNTING_RESPONSE;
break;
-
- default:
- REDEBUG("Can't determine expected response to Status-Server request, specify "
- "a well known RADIUS port, or add a Response-Packet-Type attribute "
- "to the request of filter");
- goto error;
}
break;