Merge pull request #54 from pseudotronics/Illegal-Function-Default-Case

Make Unknown Functions Reply to Client
This commit is contained in:
Valerio De Benedetto 2024-06-25 11:02:48 +02:00 committed by GitHub
commit 67bd7b2075
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1832,7 +1832,7 @@ static nmbs_error handle_req_fc(nmbs_t* nmbs) {
break;
#endif
default:
err = NMBS_EXCEPTION_ILLEGAL_FUNCTION;
err = send_exception_msg(nmbs, NMBS_EXCEPTION_ILLEGAL_FUNCTION);
}
return err;