inet_diag_copy.h: Remove bitwise notation, not avail in older kernels Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
diff --git a/python-inet_diag/inet_diag_copy.h b/python-inet_diag/inet_diag_copy.h index 527e627..b43fbf9 100644 --- a/python-inet_diag/inet_diag_copy.h +++ b/python-inet_diag/inet_diag_copy.h
@@ -11,10 +11,10 @@ /* Socket identity */ struct inet_diag_sockid { - __be16 idiag_sport; - __be16 idiag_dport; - __be32 idiag_src[4]; - __be32 idiag_dst[4]; + __u16 idiag_sport; + __u16 idiag_dport; + __u32 idiag_src[4]; + __u32 idiag_dst[4]; __u32 idiag_if; __u32 idiag_cookie[2]; #define INET_DIAG_NOCOOKIE (~0U) @@ -69,7 +69,7 @@ __u8 family; __u8 prefix_len; int port; - __be32 addr[0]; + __u32 addr[0]; }; /* Base info structure. It contains socket identity (addrs/ports/cookie)
diff --git a/rpm/SPECS/python-inet_diag.spec b/rpm/SPECS/python-inet_diag.spec index 8bcf3bf..2659d53 100644 --- a/rpm/SPECS/python-inet_diag.spec +++ b/rpm/SPECS/python-inet_diag.spec
@@ -43,5 +43,5 @@ %endif %changelog -* Mon Apr 27 2009 Arnaldo Carvalho de Melo <acme@redhat.com> - 0.1-1 +* Wed May 13 2009 * Arnaldo Carvalho de Melo <acme@redhat.com> - 0.1-1 - Initial package