Message ID | 1449623297-31060-2-git-send-email-blp@ovn.org |
---|---|
State | Accepted |
Headers | show |
Acked-by: Justin Pettit <jpettit@ovn.org> --Justin > On Dec 8, 2015, at 5:08 PM, Ben Pfaff <blp@ovn.org> wrote: > > POSIX defines this but it was missing from the OVS header file definitions > for "sparse". > > Signed-off-by: Ben Pfaff <blp@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
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
POSIX defines this but it was missing from the OVS header file definitions for "sparse". Signed-off-by: Ben Pfaff <blp@ovn.org> --- include/sparse/netinet/in.h | 1 + 1 file changed, 1 insertion(+)