Minor fix for interfaces with no packets visibility

This commit is contained in:
Luca Deri 2019-04-15 14:33:23 +02:00
parent bf96e0e34c
commit a10c6483a2
2 changed files with 8 additions and 5 deletions

View file

@ -24,11 +24,8 @@ else
if((type == nil) or (type == "size")) then
if((mode == nil) or (mode == "sent")) then
what = host["pktStats.sent"]
else
what = host["pktStats.recv"]
end
end