[sr-dev] git:master:9d0ea2b4: seas: use ip_addr2sbuf instead of (redundant) buf_print_ip
Henning Westerholt
hw at skalatan.de
Mon Mar 23 15:08:14 CET 2020
Module: kamailio
Branch: master
Commit: 9d0ea2b4323bcafd73322cc2b234231273013bcd
URL: https://github.com/kamailio/kamailio/commit/9d0ea2b4323bcafd73322cc2b234231273013bcd
Author: Henning Westerholt <hw at skalatan.de>
Committer: Henning Westerholt <hw at 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/9d0ea2b4323bcafd73322cc2b234231273013bcd.diff
Patch: https://github.com/kamailio/kamailio/commit/9d0ea2b4323bcafd73322cc2b234231273013bcd.patch
---
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";
More information about the sr-dev
mailing list