From 6df30438b2f5bf8e619d80e9297721f79389964b Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Fri, 25 Jan 2019 10:43:20 -0500 Subject: [PATCH] Add comments to explain the hwtype change --- xCAT-server/lib/xcat/plugins/dhcp.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/dhcp.pm b/xCAT-server/lib/xcat/plugins/dhcp.pm index 35424a5d5..a26c6e492 100644 --- a/xCAT-server/lib/xcat/plugins/dhcp.pm +++ b/xCAT-server/lib/xcat/plugins/dhcp.pm @@ -764,7 +764,9 @@ sub addnode $hostname = $1 . "-hf" . $count; } } - } elsif (length($mac) == 23) { + } elsif (length($mac) == 23) { # 8 bytes of mac address + # Currently the only thing that has 8 bytes is an infiniband + # or infiniband like device, which is type 32 (0x20). $hardwaretype = 32; }