summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2021-12-04 22:03:24 +0700
committerGitHub <noreply@github.com>2021-12-04 22:03:24 +0700
commit63beb344f214a4dc92dc2ade314f4f641c69e563 (patch)
tree5320b91dcc5fa8c9dca975a209ae615fab5d9d63
parenta86d0a713b1707d7beb0fe359bbfc71f4a9e2eed (diff)
parent5fcb23e7c0c62609116dbf70c5502311332c2229 (diff)
downloadvyatta-config-mgmt-63beb344f214a4dc92dc2ade314f4f641c69e563.tar.gz
vyatta-config-mgmt-63beb344f214a4dc92dc2ade314f4f641c69e563.zip
Merge pull request #6 from erkin/current
remote: T4029: Fix source address argument for uploads
-rwxr-xr-xscripts/vyatta-commit-push.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vyatta-commit-push.pl b/scripts/vyatta-commit-push.pl
index bd8efc0..075fefa 100755
--- a/scripts/vyatta-commit-push.pl
+++ b/scripts/vyatta-commit-push.pl
@@ -97,7 +97,7 @@ foreach my $uri (@uris) {
$remote .= "$path" if defined $path;
print " $remote ";
- system("python3 -c 'from vyos.remote import upload; upload(\"$tmp_push_file\", \"$uri/$save_file\", source=$source_address)'");
+ system("python3 -c 'from vyos.remote import upload; upload(\"$tmp_push_file\", \"$uri/$save_file\", source_host=$source_address)'");
}
move($tmp_push_file, $last_push_file);