Hello,
I used str2ipxbuf() instead of stripx().
Tested
- IPv6 short and long versions
- IPv4 versions.
```
ip_addr_t* str2ip6(str* st)
{
static ip_addr_t ip;
if(str2ip6buf(st, &ip)<0) {
return NULL;
}
return &ip;
}
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/2045#issuecomment-525189906