This commit is contained in:
Srivats P. 2013-02-25 22:26:38 +05:30
commit 68c95ba8d9

View File

@ -437,6 +437,10 @@ int LinuxPort::StatsMonitor::netlinkStats()
return -1;
}
count = 0;
_retry:
// Find required size of buffer and resize accordingly
while (1)
{
@ -486,9 +490,6 @@ int LinuxPort::StatsMonitor::netlinkStats()
}
}
count = 0;
_retry:
msg.msg_flags = 0;
// Actually receive the reply now