b.a.t.m.a.n.lists.open-mesh.org archive mirror
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] [PATCH] batctl: add neighbor table support
@ 2015-08-07 15:56 Marek Lindner
  2015-08-09 16:11 ` Marek Lindner
  0 siblings, 1 reply; 2+ messages in thread
From: Marek Lindner @ 2015-08-07 15:56 UTC (permalink / raw)
  To: b.a.t.m.a.n; +Cc: Marek Lindner

Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
---
 debug.c      | 6 ++++++
 debug.h      | 1 +
 man/batctl.8 | 3 +++
 3 files changed, 10 insertions(+)

diff --git a/debug.c b/debug.c
index a050345..3fbe587 100644
--- a/debug.c
+++ b/debug.c
@@ -31,6 +31,12 @@
 
 const struct debug_table_data batctl_debug_tables[BATCTL_TABLE_NUM] = {
 	{
+		.opt_long = "neighbors",
+		.opt_short = "n",
+		.debugfs_name = "neighbors",
+		.header_lines = 2,
+	},
+	{
 		.opt_long = "originators",
 		.opt_short = "o",
 		.debugfs_name = "originators",
diff --git a/debug.h b/debug.h
index 2bc0ff9..c9397e1 100644
--- a/debug.h
+++ b/debug.h
@@ -30,6 +30,7 @@
 #define DEBUG_LOG "log"
 
 enum batctl_debug_tables {
+	BATCTL_TABLE_NEIGHBORS,
 	BATCTL_TABLE_ORIGINATORS,
 	BATCTL_TABLE_GATEWAYS,
 	BATCTL_TABLE_TRANSLOCAL,
diff --git a/man/batctl.8 b/man/batctl.8
index bc190c0..3720256 100644
--- a/man/batctl.8
+++ b/man/batctl.8
@@ -204,6 +204,9 @@ The local and global translation tables also support the "\-u" and "\-m" option
 
 List of debug tables:
 .RS 10
+\- neighbors|n
+.RE
+.RS 10
 \- originators|o
 .RE
 .RS 10
-- 
2.5.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [B.A.T.M.A.N.] [PATCH] batctl: add neighbor table support
  2015-08-07 15:56 [B.A.T.M.A.N.] [PATCH] batctl: add neighbor table support Marek Lindner
@ 2015-08-09 16:11 ` Marek Lindner
  0 siblings, 0 replies; 2+ messages in thread
From: Marek Lindner @ 2015-08-09 16:11 UTC (permalink / raw)
  To: b.a.t.m.a.n

[-- Attachment #1: Type: text/plain, Size: 279 bytes --]

On Friday, August 07, 2015 23:56:05 Marek Lindner wrote:
> Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
> ---
>  debug.c      | 6 ++++++
>  debug.h      | 1 +
>  man/batctl.8 | 3 +++
>  3 files changed, 10 insertions(+)

Applied in revision bf133f0.

Regards,
Marek

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-08-09 16:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-07 15:56 [B.A.T.M.A.N.] [PATCH] batctl: add neighbor table support Marek Lindner
2015-08-09 16:11 ` Marek Lindner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).