Project

General

Profile

Actions

Bug #854

closed

1.4.3: decode-ipv6.c: Solaris doesn't define IPPROTO_IPIP

Added by Mark Solaris almost 11 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
Affected Versions:
Effort:
Difficulty:
Label:

Description

For want of a better place to define it:

--- suricata-1.4.3/src/decode-ipv6.c.orig       Sat Jul  6 15:39:39 2013
+++ suricata-1.4.3/src/decode-ipv6.c    Sat Jul  6 15:39:42 2013
@@ -45,6 +45,10 @@
 #define IPV6_EXTHDRS     ip6eh.ip6_exthdrs
 #define IPV6_EH_CNT      ip6eh.ip6_exthdrs_cnt

+#ifndef IPPROTO_IPIP
+#define IPPROTO_IPIP 4
+#endif
+
 /**
  * \brief Function to decode IPv4 in IPv6 packets
  *
Actions

Also available in: Atom PDF