aboutsummaryrefslogtreecommitdiffstats
path: root/ctrl/libhicnctrl/src/api.c
diff options
context:
space:
mode:
authorJordan Augé <jordan.auge+fdio@cisco.com>2019-10-24 00:51:37 +0200
committerJordan Augé <jordan.auge+fdio@cisco.com>2019-10-24 00:51:37 +0200
commitcfa69ca65bfded68430143d2ad1a2d19a1f047aa (patch)
tree39fd912d2d53262209f6d25e78c34ccfb1d0aea8 /ctrl/libhicnctrl/src/api.c
parent4f195f8ce71793e84934d9cb7455dc38097c4749 (diff)
[HICN-351] Support for new RemoveListener API in libhicnctrl + added missing commands in CLI
Change-Id: I999b8321715fca1d09f89eacf7fac4029e32cbba Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
Diffstat (limited to 'ctrl/libhicnctrl/src/api.c')
-rw-r--r--ctrl/libhicnctrl/src/api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctrl/libhicnctrl/src/api.c b/ctrl/libhicnctrl/src/api.c
index 27c552dfa..ef6c66d59 100644
--- a/ctrl/libhicnctrl/src/api.c
+++ b/ctrl/libhicnctrl/src/api.c
@@ -2062,7 +2062,7 @@ hc_face_delete(hc_sock_t * s, hc_face_t * face)
/* If this is the last connection attached to the listener, remove it */
hc_data_t * connections;
- hc_listener_t listener = {0};
+ hc_listener_t listener = {{0}};
/*
* Ensure we have a corresponding local listener