[HICN-268] Forwarder crashes when "create listener hicn" 45/21545/2
authorAngelo Mantellini <manangel@cisco.com>
Tue, 27 Aug 2019 08:56:44 +0000 (10:56 +0200)
committerAngelo Mantellini <manangel@cisco.com>
Tue, 27 Aug 2019 08:58:42 +0000 (10:58 +0200)
Signed-off-by: Angelo Mantellini <manangel@cisco.com>
Change-Id: Ic20cce329e845475dc3b9d088d2ac974956294e9
Signed-off-by: Angelo Mantellini <manangel@cisco.com>
hicn-light/src/hicn/config/controlAddListener.c

index d84b804..c925342 100644 (file)
@@ -182,7 +182,7 @@ static CommandReturn _controlAddListener_Execute(CommandParser *parser,
     // here we discard the prefix len if it exists, since we don't use it in
     // code but we let libhicn to find the right ip address.
 #ifdef __linux__
-    return _CreateListener(parser, ops, symbolic, host, port, interfaceName, HICN_MODE,
+    return _CreateListener(parser, ops, symbolic, host, port, "hicn", HICN_MODE,
                            HICN_CONN);
 #else
     return _CreateListener(parser, ops, symbolic, host, port, HICN_MODE,