add: invalid command log
This commit is contained in:
parent
452b37dd6a
commit
0a684f687a
1 changed files with 2 additions and 0 deletions
|
@ -109,6 +109,8 @@ handler_command(int fd, controller_t *controller)
|
|||
break;
|
||||
case COMMAND_CODE_GET_RELAY_NAME:
|
||||
break;
|
||||
default:
|
||||
LOG_ERROR("received invalid command");
|
||||
}
|
||||
|
||||
free(payload);
|
||||
|
|
Loading…
Reference in a new issue