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;
|
break;
|
||||||
case COMMAND_CODE_GET_RELAY_NAME:
|
case COMMAND_CODE_GET_RELAY_NAME:
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
LOG_ERROR("received invalid command");
|
||||||
}
|
}
|
||||||
|
|
||||||
free(payload);
|
free(payload);
|
||||||
|
|
Loading…
Reference in a new issue