[SR-Dev] sip_resolvehost and dns_sip_resolvehost
Jan Janak
jan at iptel.org
Fri Mar 13 03:23:25 CET 2009
Ovidiu,
On 12-03 15:40, Ovidiu Sas wrote:
> In sr core, sip_resolvehost is pointing to dns_sip_resolvehost:
> resolve.h:#define sip_resolvehost dns_sip_resolvehost
> but in k core, sip_resolvehost is a standalone method.
>
> This is creating issues due to different signatures for the two methods:
> k core:
> struct hostent* sip_resolvehost(str* name, unsigned short* port,
> unsigned short *proto, int is_sips, struct dns_node **dn);
>
> sr core:
> struct hostent* dns_sip_resolvehost(str* name, unsigned short* port,
>
> char* proto);
>
> Modules affected by this:
> - enum
> - nat_traversal
> - nathelper
This issue hasn't been fixed yet in any of the modules, patches are more than
welcome ;-).
Jan.
More information about the sr-dev
mailing list