[1/3] batctl: fix wrong header lines number for local translation table

Message ID 1393215104-28184-1-git-send-email-linus.luessing@web.de (mailing list archive)
State Accepted, archived
Commit 4aa06a7c2935158a2ff5ffea2995b011a62e229e
Headers

Commit Message

Linus Lüssing Feb. 24, 2014, 4:11 a.m. UTC
  A commit in batman-adv has added a second header line to the local
translation table output.

Introduced by 59cb0861498776c62bd17584c31f34477fa301a0
("batman-adv: improve local translation table output")

Signed-off-by: Linus Lüssing <linus.luessing@web.de>
---
 debug.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Antonio Quartulli Feb. 27, 2014, 10:28 a.m. UTC | #1
On 24/02/14 05:11, Linus Lüssing wrote:
> A commit in batman-adv has added a second header line to the local
> translation table output.
> 
> Introduced by 59cb0861498776c62bd17584c31f34477fa301a0
> ("batman-adv: improve local translation table output")
> 
> Signed-off-by: Linus Lüssing <linus.luessing@web.de>

Nice catch! I think we should use the "-H" option a bit more often :)

Acked-by: Antonio Quartulli <antonio@meshcoding.com>
  

Patch

diff --git a/debug.c b/debug.c
index d57324d..6836857 100644
--- a/debug.c
+++ b/debug.c
@@ -45,7 +45,7 @@  const struct debug_table_data batctl_debug_tables[BATCTL_TABLE_NUM] = {
 		.opt_long = "translocal",
 		.opt_short = "tl",
 		.debugfs_name = "transtable_local",
-		.header_lines = 1,
+		.header_lines = 2,
 	},
 	{
 		.opt_long = "transglobal",