Signed-off-by: Marek Lindner <mareklindner(a)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