From 05bcac416bcddaf05bd0437bd27a19933502baf2 Mon Sep 17 00:00:00 2001 From: "Enrico Loparco (eloparco)" Date: Fri, 18 Jun 2021 14:32:44 +0200 Subject: [HICN-709] Fix bugs in listener and connection tables and add unit tests Signed-off-by: Enrico Loparco (eloparco) Change-Id: Idf86a3c6a1dd50d29c1a245a00352a553a5fdb42 --- hicn-light/src/hicn/core/address.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'hicn-light/src/hicn/core/address.c') diff --git a/hicn-light/src/hicn/core/address.c b/hicn-light/src/hicn/core/address.c index cc86b7875..10f65f2f3 100644 --- a/hicn-light/src/hicn/core/address.c +++ b/hicn-light/src/hicn/core/address.c @@ -51,4 +51,8 @@ int address_to_string(const address_t *address, char *buffer) { strncpy(buffer, "N/A", INET6_ADDRSTRLEN); } return err; +} + +address_t _ADDRESS4_LOCALHOST(uint16_t port) { + return ADDRESS4_LOCALHOST(port); } \ No newline at end of file -- cgit 1.2.3-korg