diff options
author | jim-p <jimp@pfsense.org> | 2012-09-14 12:36:03 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2012-09-14 12:36:03 -0400 |
commit | 140f30ea44e64176d45287ea687775eef4f419e0 (patch) | |
tree | a142e0965b51b7ecfad52d413883cf075868350e | |
parent | 80d30a83463f3ee8160bbd9b38cd2f2f510560d7 (diff) | |
download | pfsense-140f30ea44e64176d45287ea687775eef4f419e0.zip pfsense-140f30ea44e64176d45287ea687775eef4f419e0.tar.gz |
Add note about mac matching and media type.
-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"; } |