Am 18.04.2013 08:41, schrieb Dietmar Maurer:
+               $res->{$vmid}{'net'.$netid}{out} = $netdev->{$dev}->{receive};
+               $res->{$vmid}{'net'.$netid}{in} = $netdev->{$dev}->{transmit};

I also prefer "net$netid" instead of 'net'.$netid

Is this a bug?

The code in vmstatus seems to be wrong for netout and netin

        $d->{netout} += $netdev->{$dev}->{receive};
        $d->{netin} += $netdev->{$dev}->{transmit};


netin is receive and netout is transmit... isn't it?

Greets,
Stefan
_______________________________________________
pve-devel mailing list
[email protected]
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to