diff options
author | Angelo Mantellini <manangel@cisco.com> | 2019-07-18 18:31:46 +0200 |
---|---|---|
committer | Angelo Mantellini <manangel@cisco.com> | 2019-10-12 13:27:54 +0000 |
commit | eefc7ae95bbd680416163e5617bada1949b32afc (patch) | |
tree | 336a4100832001b2991be007749d12ec5c28c1a0 /hicn-light/src/hicn/config/configurationListeners.c | |
parent | 91304b8cb75df7cb516518b53e3c1156d0f27ba5 (diff) |
[HICN-247] remove listener and bug fixing
Change-Id: I4e5419a837131680fe0e21eb295462ccb2be8613
Signed-off-by: Angelo Mantellini <manangel@cisco.com>
Diffstat (limited to 'hicn-light/src/hicn/config/configurationListeners.c')
-rw-r--r-- | hicn-light/src/hicn/config/configurationListeners.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/hicn-light/src/hicn/config/configurationListeners.c b/hicn-light/src/hicn/config/configurationListeners.c index 86d8a215a..c321007e2 100644 --- a/hicn-light/src/hicn/config/configurationListeners.c +++ b/hicn-light/src/hicn/config/configurationListeners.c @@ -317,6 +317,7 @@ static bool _setupTcpListenerOnInet6Light(Forwarder *forwarder, char *listenerNa * Create a new IPV6/UDP listener. * * @param [in,out] forwarder The hicn-light forwarder instance + * @param [in] listenerName The name of the listener * @param [in] addr6 The ipv6 address in network byte order * @param [in] port The port number in network byte order * @param [in] interfaceName The name of the interface to bind the socket @@ -615,7 +616,8 @@ void configurationListeners_SetutpLocalIPv4(const Configuration *config, Forwarder *forwarder = configuration_GetForwarder(config); in_addr_t addr = inet_addr("127.0.0.1"); uint16_t network_byte_order_port = htons(port); - char listenerNameUdp[16] = "lo_udp"; + + char listenerNameUdp[16] = "lo_udp"; char listenerNameTcp[16] = "lo_tcp"; char *loopback_interface = "lo"; _setupUdpListenerOnInet(forwarder, listenerNameUdp,(ipv4_addr_t *)&(addr), |