From bd26d18978861b24c5707dbaa24dac76133425e2 Mon Sep 17 00:00:00 2001 From: Jordan Augé Date: Tue, 20 Sep 2022 13:27:12 +0200 Subject: fix(libhicnctrl): fix new listener validation during face or connection creation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I5f532320fcb3fc01cd3a027af7ea5fc6425e4097 Ref: HICN-790 Signed-off-by: Jordan Augé --- ctrl/libhicnctrl/examples/update_priority.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ctrl/libhicnctrl/examples/update_priority.c') diff --git a/ctrl/libhicnctrl/examples/update_priority.c b/ctrl/libhicnctrl/examples/update_priority.c index bbe174c2f..6dd974067 100644 --- a/ctrl/libhicnctrl/examples/update_priority.c +++ b/ctrl/libhicnctrl/examples/update_priority.c @@ -33,7 +33,7 @@ int main(int argc, char **argv) { unsigned priority = atoi(argv[2]); char face_id_s[SYMBOLIC_NAME_LEN]; - hc_sock_t *socket = hc_sock_create(); + hc_sock_t *socket = hc_sock_create_forwarder(FORWARDER_TYPE_HICNLIGHT); if (!socket) { DEBUG("Error creating libhicnctrl socket"); goto ERR_SOCK; -- cgit 1.2.3-korg