tcpdump mailing list archives
[PATCH] Recent changes in Libosip2 break TCPslice compilation with SIP tracking enabled
From: "Sebastien Raveau" <sebastien.raveau () epita fr>
Date: Mon, 1 Sep 2008 11:29:48 +0200
Hi list! :-) Coming back to past loves, I tried to compile TCPslice with TCP and VoIP tracking support (things I added in 2006: http://marc.info/?l=tcpdump-workers&m=115153193211591&w=2 ) but met the following error: ./sessions.c: In function 'sip_get_address': ./sessions.c:778: error: incompatible type for argument 1 of 'osip_list_eol' ./sessions.c:781: error: incompatible type for argument 1 of 'osip_list_get' make: *** [sessions.o] Error 1 Apparently, changes were made in the Libosip2 API: in osipparser2/osip_message.h the "bodies" field of osip_message_t is not a pointer anymore. Patching TCPslice accordingly was easy, but... I don't see how to test for old/new Libosip2 API; can we assume people have a recent enough Libosip2? It is the case in most compiled packages... It would be better of course if somebody knew of a way to make TCPslice adapt itself to old & new APIs :-) Regards, -- Sebastien Raveau
Attachment:
changes_in_osip2.patch
Description:
- This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.
Current thread:
- [PATCH] Recent changes in Libosip2 break TCPslice compilation with SIP tracking enabled Sebastien Raveau (Sep 01)