diff options
Diffstat (limited to 'src/validators/mac-address')
-rw-r--r-- | src/validators/mac-address | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/validators/mac-address b/src/validators/mac-address new file mode 100644 index 0000000..bb859a6 --- /dev/null +++ b/src/validators/mac-address @@ -0,0 +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" |