Module: kamailio Branch: master Commit: 9d0ea2b4323bcafd73322cc2b234231273013bcd URL: https://github.com/kamailio/kamailio/commit/9d0ea2b4323bcafd73322cc2b2342312...
Author: Henning Westerholt hw@skalatan.de Committer: Henning Westerholt hw@skalatan.de Date: 2020-03-23T15:07:42+01:00
seas: use ip_addr2sbuf instead of (redundant) buf_print_ip
---
Modified: src/modules/seas/event_dispatcher.c
---
Diff: https://github.com/kamailio/kamailio/commit/9d0ea2b4323bcafd73322cc2b2342312... Patch: https://github.com/kamailio/kamailio/commit/9d0ea2b4323bcafd73322cc2b2342312...
---
diff --git a/src/modules/seas/event_dispatcher.c b/src/modules/seas/event_dispatcher.c index 6031310aa1..e1c7047beb 100644 --- a/src/modules/seas/event_dispatcher.c +++ b/src/modules/seas/event_dispatcher.c @@ -850,7 +850,7 @@ int process_bind_action(as_p as,unsigned char processor_id,unsigned int flags,ch memcpy(&port,payload+k,2); k+=2; port=ntohs(port); - buf_print_ip(buffer, &my_addr,300); + ip_addr2sbuf(&my_addr,buffer,300); switch(proto){ case PROTO_UDP: proto_s="UDP";