aboutsummaryrefslogtreecommitdiffstats
path: root/hicn-light/src
diff options
context:
space:
mode:
authorAngelo Mantellini <manangel@cisco.com>2019-08-27 10:56:44 +0200
committerAngelo Mantellini <manangel@cisco.com>2019-08-27 10:58:42 +0200
commit5dccfec617ff6f82166d8aff63e4d8cba05bf333 (patch)
treec0c30d0c615213fec7e732bf2c0d1892d377f227 /hicn-light/src
parent3f709888ef31c008021f2e929a937a3d6b312c87 (diff)
[HICN-268] Forwarder crashes when "create listener hicn"
Signed-off-by: Angelo Mantellini <manangel@cisco.com> Change-Id: Ic20cce329e845475dc3b9d088d2ac974956294e9 Signed-off-by: Angelo Mantellini <manangel@cisco.com>
Diffstat (limited to 'hicn-light/src')
-rw-r--r--hicn-light/src/hicn/config/controlAddListener.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hicn-light/src/hicn/config/controlAddListener.c b/hicn-light/src/hicn/config/controlAddListener.c
index d84b8049b..c9253425a 100644
--- a/hicn-light/src/hicn/config/controlAddListener.c
+++ b/hicn-light/src/hicn/config/controlAddListener.c
@@ -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,