osmux: Add square brackets around IPv6 address to distinguish port in log line
Change-Id: I811ac5b4386f06c224f29f44f10dce4008fa7a4f
This commit is contained in:
parent
8e0d101997
commit
3779919551
|
@ -473,7 +473,7 @@ int osmux_init(int role, struct mgcp_trunk *trunk)
|
|||
ret = mgcp_create_bind(cfg->osmux_addr_v6, &osmux_fd_v6, cfg->osmux_port,
|
||||
cfg->endp_dscp, cfg->endp_priority);
|
||||
if (ret < 0) {
|
||||
LOGP(DOSMUX, LOGL_ERROR, "Cannot bind OSMUX IPv6 socket to %s:%u\n",
|
||||
LOGP(DOSMUX, LOGL_ERROR, "Cannot bind OSMUX IPv6 socket to [%s]:%u\n",
|
||||
cfg->osmux_addr_v6, cfg->osmux_port);
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue