require square brackets for ipv6 addresses
we need this, because we append the port to this to get a target url e.g. we print format!("https://{}:8007/", address) if address is now an ipv6 (e.g. fe80::1) it would become https://fe80::1:8007/ which is a valid ipv6 on its own by using square brackets we get: https://[fe80::1]:8007/ which now connects to the correct ip/port Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
committed by
Dietmar Maurer
parent
abf8b5d475
commit
60b9b48e71
@ -737,6 +737,9 @@ on the backup server.
|
||||
The default value for ``username`` ist ``root@pam``. If no server is specified,
|
||||
the default is the local host (``localhost``).
|
||||
|
||||
Note that if the server is an IPv6 address, you have to write it with
|
||||
square brackets (e.g. [fe80::01]).
|
||||
|
||||
You can pass the repository with the ``--repository`` command
|
||||
line option, or by setting the ``PBS_REPOSITORY`` environment
|
||||
variable.
|
||||
|
Reference in New Issue
Block a user