flowtop: Show counters in same color as their direction
commit901ba7f852994c54287d3d1126c85f1d468184a3
authorVadim Kochan <vadim4j@gmail.com>
Wed, 5 Aug 2015 11:05:00 +0000 (5 14:05 +0300)
committerTobias Klauser <tklauser@distanz.ch>
Thu, 6 Aug 2015 08:15:41 +0000 (6 10:15 +0200)
treed661c2033ba64a763e54ea2b6bfa04cd09c597b0
parent84ff3218df9abc77f08ac6e99c8e259c0f4e9a76
flowtop: Show counters in same color as their direction

Show byte/packet counters in the same colors as their direction:
    - src in red
    - dst in blue
so it will be easiser to identify them by direction.

Also unifed counters printing in one function and changed counters
naming similar to other *_src members of flow_entry struct.

Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
[tklauser: Reverted to using parentheses in printed message]
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
flowtop.c