SUSv3 doesn't require IPPROTO_SCTP so some systems might not provide it. IPPROTO_SCTP isn't used in the tree yet so this doesn't fix a real bug.
Signed-off-by: Ben Pfaff <b...@nicira.com> --- lib/packets.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/lib/packets.h b/lib/packets.h index 8e4117e..19ddd9a 100644 --- a/lib/packets.h +++ b/lib/packets.h @@ -337,6 +337,10 @@ void ip_format_masked(ovs_be32 ip, ovs_be32 mask, struct ds *); #define IP_IHL(ip_ihl_ver) ((ip_ihl_ver) & 15) #define IP_IHL_VER(ihl, ver) (((ver) << 4) | (ihl)) +#ifndef IPPROTO_SCTP +#define IPPROTO_SCTP 132 +#endif + /* TOS fields. */ #define IP_ECN_MASK 0x03 #define IP_DSCP_MASK 0xfc -- 1.7.2.5 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev