diff --git a/src/decode.h b/src/decode.h index 525065bb03..4b7592002e 100644 --- a/src/decode.h +++ b/src/decode.h @@ -771,6 +771,14 @@ void AddressDebugPrint(Address *); #define IPPROTO_DCCP 33 #endif +/* older libcs don't contain a def for IPPROTO_SCTP + * inside of + * if it isn't defined let's define it here. + */ +#ifndef IPPROTO_SCTP +#define IPPROTO_SCTP 132 +#endif + /* pcap provides this, but we don't want to depend on libpcap */ #ifndef DLT_EN10MB #define DLT_EN10MB 1