From: Ben Pfaff Date: Thu, 3 Dec 2015 02:04:35 +0000 (-0800) Subject: sparse: Define INET_ADDRSTRLEN. X-Git-Tag: v2.12.3~6294 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=1f632fff5e88abe28f9a8642c318d8927e51ea1e;p=mirror_ovs.git sparse: Define INET_ADDRSTRLEN. POSIX defines this but it was missing from the OVS header file definitions for "sparse". Signed-off-by: Ben Pfaff Acked-by: Justin Pettit --- diff --git a/include/sparse/netinet/in.h b/include/sparse/netinet/in.h index 1223553ee..78e598175 100644 --- a/include/sparse/netinet/in.h +++ b/include/sparse/netinet/in.h @@ -116,6 +116,7 @@ struct sockaddr_in6 { (X)->s6_addr[10] == 0xff && \ (X)->s6_addr[11] == 0xff) +#define INET_ADDRSTRLEN 16 #define INET6_ADDRSTRLEN 46 #define IPV6_TCLASS 67