From b93d4d40bc946ac31fcdb619343e21717d816e99 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 9 Apr 2019 17:53:48 +0200 Subject: drop deprecated mode= for fetch --- global-functions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'global-functions') 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={ -- cgit v1.2.3-54-g00ecf