summaryrefslogtreecommitdiffstats
path: root/hicn-light/src/config/configurationListeners.c
diff options
context:
space:
mode:
authormichele papalini <micpapal@cisco.com>2019-02-19 17:51:28 +0100
committermichele papalini <micpapal@cisco.com>2019-02-19 17:51:28 +0100
commit7734174f81412b1544243d1d358ee2641dcdb3dd (patch)
treecd7a14d8dcdfebd079e421a63b523d4f8cac6ea3 /hicn-light/src/config/configurationListeners.c
parent286fd55fc0cf620747209570a32b79d97d50d9b4 (diff)
[HICN-70] remove double htons in addListener
Change-Id: Iaf65c52ec45c737f3bb6cc85a66c0f1521921e5f Signed-off-by: michele papalini <micpapal@cisco.com>
Diffstat (limited to 'hicn-light/src/config/configurationListeners.c')
-rw-r--r--hicn-light/src/config/configurationListeners.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hicn-light/src/config/configurationListeners.c b/hicn-light/src/config/configurationListeners.c
index 11276e2dd..6539e8c9f 100644
--- a/hicn-light/src/config/configurationListeners.c
+++ b/hicn-light/src/config/configurationListeners.c
@@ -524,7 +524,7 @@ void configurationListeners_SetupAll(const Configuration *config, uint16_t port,
// Do not start on link address
if (addressGetType(address) != ADDR_LINK) {
- _setupListenersOnAddress(forwarder, address, htons(port),
+ _setupListenersOnAddress(forwarder, address, port,
interfaceGetName(iface));
}
}