summaryrefslogtreecommitdiff
path: root/src/validators/mac-address
blob: bb859a603dcd8080e1299d57b14b22a4a238ac65 (plain)
1
2
#!/usr/bin/env sh
${vyos_libexec_dir}/validate-value --regex "([0-9A-Fa-f]{2}:){5}([0-9A-Fa-f]{2})" --value "$1"