[RFC PATCH 05/20] show symbols: don't show typed symbols

Asbjørn Sloth Tønnesen ast at 2e8.dk
Mon Dec 30 17:56:31 CET 2019


---
 nest/cmds.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/nest/cmds.c b/nest/cmds.c
index da4015cf..9653675c 100644
--- a/nest/cmds.c
+++ b/nest/cmds.c
@@ -58,6 +58,9 @@ cmd_show_symbols(struct sym_show_data *sd)
       if (sd->type && (sym->class != sd->type))
 	continue;
 
+      if (sym->net_type != NET_ANY)
+        continue;
+
       cli_msg(-1010, "%-8s\t%s", sym->name, cf_symbol_class_name(sym));
     }
     HASH_WALK_END;
-- 
2.24.0



More information about the Bird-users mailing list