Fix LinkSetVfGUID to not reverse the GUID

This commit is contained in:
Mamduh Alassi 2019-12-03 10:24:14 +02:00 committed by Vish (Ishaya) Abrams
parent ec20eb4fc3
commit f049be6f39
1 changed files with 1 additions and 1 deletions

View File

@ -681,7 +681,7 @@ func (h *Handle) LinkSetVfGUID(link Link, vf int, vfGuid net.HardwareAddr, guidT
var guid uint64
buf := bytes.NewBuffer(vfGuid)
err = binary.Read(buf, binary.LittleEndian, &guid)
err = binary.Read(buf, binary.BigEndian, &guid)
if err != nil {
return err
}