diff options
author | Enrico Loparco (eloparco) <eloparco@cisco.com> | 2021-03-23 14:58:34 +0100 |
---|---|---|
committer | Mauro Sardara <msardara@cisco.com> | 2021-03-30 15:23:55 +0000 |
commit | a5a6ffb506aa3c2a0c7fe8fd09abf3f737984aa5 (patch) | |
tree | cfb82e9667e287b08c665d4d671b6e767490d403 /hicn-light/src/hicn/config/controlListRoutes.c | |
parent | a070b0de9f9e9cbca150eea4eda74757ca588bed (diff) |
[HICN-645] Fix data structures to support hicn-light-daemon and hicn-light-control communication
The daemon should be able to start, receive commands from hicn-light-control and execute them.
Signed-off-by: Enrico Loparco (eloparco) <eloparco@cisco.com>
Change-Id: I0ca5bb3d9bdfb37ac8cfa9f671f6c162c9a394f5
Signed-off-by: Enrico Loparco (eloparco) <eloparco@cisco.com>
Diffstat (limited to 'hicn-light/src/hicn/config/controlListRoutes.c')
-rw-r--r-- | hicn-light/src/hicn/config/controlListRoutes.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hicn-light/src/hicn/config/controlListRoutes.c b/hicn-light/src/hicn/config/controlListRoutes.c index 33a1ac6f5..df1c24334 100644 --- a/hicn-light/src/hicn/config/controlListRoutes.c +++ b/hicn-light/src/hicn/config/controlListRoutes.c @@ -91,8 +91,8 @@ static CommandReturn _controlListRoutes_Execute(CommandParser *parser, } // Process/Print message - header_control_message *receivedHeader = - (header_control_message *)response[0].iov_base; + cmd_header_t *receivedHeader = + (cmd_header_t *)response[0].iov_base; uint8_t *receivedPayload = (uint8_t *)response[1].iov_base; // Allocate output to pass to the main function if the call is not interactive |