fix for older libc's missing def for IPPROTO_DCCP

remotes/origin/master-1.0.x
William Metcalf 15 years ago committed by Victor Julien
parent f03d540d2f
commit 6095b8f2a1

@ -440,5 +440,13 @@ Packet *TunnelPktSetup(ThreadVars *, DecodeThreadVars *, Packet *, uint8_t *, ui
#define LINKTYPE_PPP 9
#define PPP_OVER_GRE 11
/* older libcs don't contain a def for IPPROTO_DCCP
* inside of <netinet/in.h>
* if it isn't defined let's define it here.
*/
#ifndef IPPROTO_DCCP
#define IPPROTO_DCCP 33
#endif
#endif /* __DECODE_H__ */

Loading…
Cancel
Save