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
Regards, Ovidiu Sas
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.