Skip to content

Commit

Permalink
net: remove NET_ADDRSTRLEN (#1123)
Browse files Browse the repository at this point in the history
* net: HAVE_INET6 is always defined
  • Loading branch information
alfredh authored May 22, 2024
1 parent 24671f1 commit 629001b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions include/re_net.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 629001b

Please sign in to comment.