Module: sip-router
Branch: master
Commit: 1ced096557f951b437c1fa5970ac0fa16357d8f0
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=1ced096557f951b437c1fa5970ac0fa16357d8f0

Author: Alexandr Dubovikov <[email protected]>
Committer: Alexandr Dubovikov <[email protected]>
Date:   Fri Oct 14 11:06:25 2011 +0200

modules:sipcapture: fixed uint types and IPPROTO_IPIP on Solaris.

                Thanks to Jason Penton <[email protected]> for the bug 
report and testing.

---

 modules/sipcapture/sipcapture.h |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/modules/sipcapture/sipcapture.h b/modules/sipcapture/sipcapture.h
index 46e1954..391178e 100644
--- a/modules/sipcapture/sipcapture.h
+++ b/modules/sipcapture/sipcapture.h
@@ -23,6 +23,12 @@
  *
  */
 
+#ifdef __OS_solaris
+typedef uint8_t u_int8_t;
+typedef uint16_t u_int16_t;
+#define IPPROTO_IPIP IPPROTO_ENCAP /* Solaris IPIP protocol has name ENCAP */
+#endif
+
 
 struct hep_hdr{
     u_int8_t hp_v;            /* version */


_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to