cmdmon: reply with STT_INVALID on invalid option in handle_manual()
This commit is contained in:
parent
1009fe3d9c
commit
64f83c8861
1 changed files with 3 additions and 0 deletions
3
cmdmon.c
3
cmdmon.c
|
@ -925,6 +925,9 @@ handle_manual(CMD_Request *rx_message, CMD_Reply *tx_message)
|
||||||
case 2:
|
case 2:
|
||||||
MNL_Reset();
|
MNL_Reset();
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
tx_message->status = htons(STT_INVALID);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue