blob: 73046612a44156f53b413f3fd95a2160c68e5779 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# simplified hardware data expression
# hardware type class
class "ethernet" {
match if substring(hardware, 0, 1) = encode-int(1, 8);
}
# ethernet address superclass
class "ethernet-address" {
match substring(hardware, 1, 6);
}
subclass "ethernet-address" 00:0B:FD:32:E6:FA { }
|