POSIX defines this but it was missing from the OVS header file definitions
for "sparse".

Signed-off-by: Ben Pfaff <b...@ovn.org>
---
 include/sparse/netinet/in.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/sparse/netinet/in.h b/include/sparse/netinet/in.h
index 1223553..78e5981 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
-- 
2.1.3

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to