diff options
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/services.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/services.inc b/etc/inc/services.inc index e3a2871..1834e37 100644 --- a/etc/inc/services.inc +++ b/etc/inc/services.inc @@ -541,6 +541,7 @@ EOPP; if (empty($mac)) continue; $dhcpdconf .= 'class "' . str_replace(':', '', $mac) . '" {' . "\n"; + // Skip the first octet of the MAC address - for media type, typically Ethernet ("01") and match the rest. $dhcpdconf .= ' match if substring (hardware, 1, ' . (substr_count($mac, ':') + 1) . ') = ' . $mac . ';' . "\n"; $dhcpdconf .= '}' . "\n"; } |