summaryrefslogtreecommitdiff
path: root/code/environments/production/modules/stdlib/types/mac.pp
diff options
context:
space:
mode:
Diffstat (limited to 'code/environments/production/modules/stdlib/types/mac.pp')
-rw-r--r--code/environments/production/modules/stdlib/types/mac.pp2
1 files changed, 2 insertions, 0 deletions
diff --git a/code/environments/production/modules/stdlib/types/mac.pp b/code/environments/production/modules/stdlib/types/mac.pp
new file mode 100644
index 0000000..4103574
--- /dev/null
+++ b/code/environments/production/modules/stdlib/types/mac.pp
@@ -0,0 +1,2 @@
+# A type for a MAC address
+type Stdlib::MAC = Pattern[/^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$/]