]> git.proxmox.com Git - mirror_iproute2.git/commit
iproute: Fix for missing 'Oifs:' display
authorPhil Sutter <phil@nwl.cc>
Thu, 17 Aug 2017 17:09:27 +0000 (19:09 +0200)
committerStephen Hemminger <stephen@networkplumber.org>
Tue, 22 Aug 2017 00:12:21 +0000 (17:12 -0700)
commit2a866256197f8b86e61fa1afc99b11d7056d5686
tree58de46b2f64b707c4e44c942b771c7a860ae9648
parent28692621442710f4a67fe33742f56efc582ee33a
iproute: Fix for missing 'Oifs:' display

Covscan complained about dead code but after reading it, I assume the
author's intention was to prefix the interface list with 'Oifs: '.
Initializing first to 1 and setting it to 0 after above prefix was
printed should fix it.

Signed-off-by: Phil Sutter <phil@nwl.cc>
ip/iproute.c