aboutsummaryrefslogtreecommitdiffstats
path: root/collect-wireless-mac.local
diff options
context:
space:
mode:
Diffstat (limited to 'collect-wireless-mac.local')
-rw-r--r--collect-wireless-mac.local2
1 files changed, 1 insertions, 1 deletions
diff --git a/collect-wireless-mac.local b/collect-wireless-mac.local
index d6ece7d..1a1e5ac 100644
--- a/collect-wireless-mac.local
+++ b/collect-wireless-mac.local
@@ -41,7 +41,7 @@
:do {
$CertificateAvailable "731d3d9cfaa061487a1d71445a42f67df0afca2a6c2d2f98ff7b3ce112b1f568";
:set vendor ([ / tool fetch mode=https check-certificate=yes-without-crl \
- url=("https://api.macvendors.com/" . $mac) output=user as-value ]->"data");
+ url=("https://api.macvendors.com/" . [ :pick $mac 0 8 ]) output=user as-value ]->"data");
} on-error={
:set vendor "unknown vendor";
}