Module: kamailio Branch: master Commit: a975dcefe98d055b06ceec440ffbe7b6b3c06c12 URL: https://github.com/kamailio/kamailio/commit/a975dcefe98d055b06ceec440ffbe7b6b3c06c12
Author: Daniel-Constantin Mierla <[email protected]> Committer: Daniel-Constantin Mierla <[email protected]> Date: 2026-06-15T16:16:25+02:00 ctl: rework the ipv6 parsing --- Modified: src/modules/ctl/ctrl_socks.c --- Diff: https://github.com/kamailio/kamailio/commit/a975dcefe98d055b06ceec440ffbe7b6b3c06c12.diff Patch: https://github.com/kamailio/kamailio/commit/a975dcefe98d055b06ceec440ffbe7b6b3c06c12.patch --- diff --git a/src/modules/ctl/ctrl_socks.c b/src/modules/ctl/ctrl_socks.c index 77e5c74604d..0e48b8cbbf4 100644 --- a/src/modules/ctl/ctrl_socks.c +++ b/src/modules/ctl/ctrl_socks.c @@ -127,12 +127,12 @@ struct id_list *parse_listen_id(char *l, int len, enum socket_protos def) p++; *p = 0; goto find_port; - } else if(*(p + 1) == 0) + } else if(*(p + 1) == 0) { goto end; - } else { - goto error; + } } } + goto error; find_port: p++; _______________________________________________ Kamailio - Development Mailing List -- [email protected] To unsubscribe send an email to [email protected] Important: keep the mailing list in the recipients, do not reply only to the sender!
