diff options
| author | Russ White <russ@riw.us> | 2022-11-16 21:41:33 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-16 21:41:33 -0500 |
| commit | 54b3d90a4bb537607b5d16337ba3d1e56e271f12 (patch) | |
| tree | f1f1f2e7df4ca77d1dfe2816827ccf7ac11515c1 /lib/ipaddr.h | |
| parent | e0f7fc58a2bb2feef6149a494b9456eabc38f920 (diff) | |
| parent | ec139f60f19088611a2fa177c1f81dd64f97d744 (diff) | |
Merge pull request #11992 from pguibert6WIND/pathd_debug
Pathd debug
Diffstat (limited to 'lib/ipaddr.h')
| -rw-r--r-- | lib/ipaddr.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ipaddr.h b/lib/ipaddr.h index d7ab358afe..43b3028200 100644 --- a/lib/ipaddr.h +++ b/lib/ipaddr.h @@ -61,6 +61,8 @@ struct ipaddr { #define IPADDRSZ(p) \ (IS_IPADDR_V4((p)) ? sizeof(struct in_addr) : sizeof(struct in6_addr)) +#define IPADDR_STRING_SIZE 46 + static inline int ipaddr_family(const struct ipaddr *ip) { switch (ip->ipa_type) { |
