cmdmon: reply with STT_INVALID on invalid option in handle_manual()

This commit is contained in:
Miroslav Lichvar 2015-06-09 17:05:15 +02:00
parent 1009fe3d9c
commit 64f83c8861

View file

@ -925,6 +925,9 @@ handle_manual(CMD_Request *rx_message, CMD_Reply *tx_message)
case 2:
MNL_Reset();
break;
default:
tx_message->status = htons(STT_INVALID);
break;
}
}