aboutsummaryrefslogtreecommitdiffstats
path: root/global-functions
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2019-04-09 17:53:48 +0200
committerGravatar Christian Hesse <mail@eworm.de>2019-04-09 18:01:44 +0200
commitb93d4d40bc946ac31fcdb619343e21717d816e99 (patch)
treeff653495223cde7ad0812b52650a685ce542cc82 /global-functions
parent2e10a80f95274be340ff90979410da239cb67620 (diff)
drop deprecated mode= for fetch
Diffstat (limited to 'global-functions')
-rw-r--r--global-functions4
1 files changed, 2 insertions, 2 deletions
diff --git a/global-functions b/global-functions
index a4b0f99..92d9d57 100644
--- a/global-functions
+++ b/global-functions
@@ -130,7 +130,7 @@
:do {
:local Vendor;
$CertificateAvailable "Let's Encrypt Authority X3" "letsencrypt";
- :set Vendor ([ / tool fetch mode=https check-certificate=yes-without-crl \
+ :set Vendor ([ / tool fetch check-certificate=yes-without-crl \
("https://api.macvendors.com/" . [ :pick $Mac 0 8 ]) output=user as-value ]->"data");
:return $Vendor;
} on-error={
@@ -176,7 +176,7 @@
$CertificateAvailable "Let's Encrypt Authority X3" "letsencrypt";
:do {
- / tool fetch mode=https check-certificate=yes-without-crl \
+ / tool fetch check-certificate=yes-without-crl \
("https://upgrade.mikrotik.com/routeros/" . $PkgVer . "/" . $PkgFile) \
dst-path=$PkgDest;
} on-error={