Mellanox / bfscripts

Collection of scripts used for BlueField SoC system management.
BSD 2-Clause "Simplified" License
20 stars 27 forks source link

bfpxe: Improve MAC address parsing #235

Open pawel-baldysiak-dell opened 2 months ago

pawel-baldysiak-dell commented 2 months ago

Currently "bfmac=" param expects MAC address to follow "aa-bb-cc-dd-ee-ff" format, however standard defines that it might also be "aa:bb:cc:dd:ee:ff". Change the way how "bfmac=" param is parsed, so it accepts both formats.