[pve-devel] applied: [pve-zsync] Fix send_config with IPv6
Wolfgang Bumiller
w.bumiller at proxmox.com
Fri Jul 7 09:33:20 CEST 2017
applied
On Thu, Jul 06, 2017 at 04:22:58PM +0200, Wolfgang Link wrote:
> Add square brackets on IP.
> ---
> pve-zsync | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/pve-zsync b/pve-zsync
> index 5fa5292..b3241ff 100644
> --- a/pve-zsync
> +++ b/pve-zsync
> @@ -948,7 +948,7 @@ sub send_image {
> run_cmd(['scp', '--', $source_target, "root\@[$dest->{ip}]:$dest_target_new"]);
> } elsif ($source->{ip}) {
> run_cmd(['mkdir', '-p', '--', $config_dir]);
> - run_cmd(['scp', '--', "root\@$source->{ip}:$source_target", $dest_target_new]);
> + run_cmd(['scp', '--', "root\@[$source->{ip}]:$source_target", $dest_target_new]);
> }
>
> if ($source->{destroy}){
> --
> 2.11.0
More information about the pve-devel
mailing list