From 629001bca2537945ddb8588e7cd3bd576289f65f Mon Sep 17 00:00:00 2001 From: "Alfred E. Heggestad" <114750+alfredh@users.noreply.github.com> Date: Wed, 22 May 2024 08:32:07 +0200 Subject: [PATCH] net: remove NET_ADDRSTRLEN (#1123) * net: HAVE_INET6 is always defined --- include/re_net.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/include/re_net.h b/include/re_net.h index 8f1d7cc39..841f67460 100644 --- a/include/re_net.h +++ b/include/re_net.h @@ -26,12 +26,6 @@ #define INET6_ADDRSTRLEN 46 #endif -/** Length of IPv4/v6 address string */ -#ifdef HAVE_INET6 -#define NET_ADDRSTRLEN INET6_ADDRSTRLEN -#else -#define NET_ADDRSTRLEN INET_ADDRSTRLEN -#endif /* forward declarations */ struct sa;