mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2026-03-14 05:00:58 +01:00
Fix ConnectionRequestURL value when ipv6 is enabled
This commit is contained in:
parent
85e8bf53d8
commit
20f3192b57
1 changed files with 1 additions and 1 deletions
|
|
@ -478,7 +478,7 @@ static void get_management_ip_port(char **listen_addr)
|
|||
}
|
||||
|
||||
if (ip[0] != '\0' && port[0] != '\0') {
|
||||
dmasprintf(listen_addr, "%s:%s", ip, port);
|
||||
dmasprintf(listen_addr, (*version == '6') ? "[%s]:%s" : "%s:%s", ip, port);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue