diff --git a/src/vz/vz_sdk.c b/src/vz/vz_sdk.c index 5f377147c6d1c75d5ce57696ada69848c57c4e33..52bd0fcc752f4bb3003ecc3b7466f8731a801c68 100644 --- a/src/vz/vz_sdk.c +++ b/src/vz/vz_sdk.c @@ -4495,7 +4495,7 @@ prlsdkGetNetStats(PRL_HANDLE sdkstats, PRL_HANDLE sdkdom, const char *device, virMacAddr mac; if (virMacAddrParse(device, &mac) == 0) - net = prlsdkFindNetByMAC(sdkdom, device); + net = prlsdkFindNetByMAC(sdkdom, &mac); else net = prlsdkFindNetByPath(sdkdom, device);