aboutsummaryrefslogtreecommitdiffstats
path: root/hicn-light/src/hicn/core/address.c
diff options
context:
space:
mode:
Diffstat (limited to 'hicn-light/src/hicn/core/address.c')
-rw-r--r--hicn-light/src/hicn/core/address.c4
1 files changed, 4 insertions, 0 deletions
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