tipc: Minor enhancements to name table display format
authorAllan Stephens <allan.stephens@windriver.com>
Tue, 17 Aug 2010 11:00:14 +0000 (11:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Aug 2010 00:31:58 +0000 (17:31 -0700)
commitc2de58140a380172610b6a0f07f975abb2fbb311
tree1eb8d0c85ed3558dbd7fe4d2e1a5fb45c04f8e0e
parent76ae0d71d839b365faa7fdca0eec85a6d1a20d95
tipc: Minor enhancements to name table display format

Eliminate printing of dashes after name table column headers
(to adhere more closely to the standard format used in tipc-config),
and simplify name table display logic using array lookups rather
than if-then-else logic.

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/name_table.c