diff options
| author | 2020-12-30 07:31:19 +0000 | |
|---|---|---|
| committer | 2020-12-30 07:31:19 +0000 | |
| commit | 413f97b76862f42cdfcec865b88565373da3085e (patch) | |
| tree | 7b7468f6c4306164ae03504fb701a1f66a4e4151 /usr.sbin/bgpctl/parser.c | |
| parent | Implement IMSG_CTL_SHOW_SET to get information about roa-set, as-sets and (diff) | |
| download | wireguard-openbsd-413f97b76862f42cdfcec865b88565373da3085e.tar.xz wireguard-openbsd-413f97b76862f42cdfcec865b88565373da3085e.zip | |
Add 'bgpctl show sets' to display information about the roa-set, as-sets,
and prefix-sets loaded into bgpd.
OK benno@
Diffstat (limited to 'usr.sbin/bgpctl/parser.c')
| -rw-r--r-- | usr.sbin/bgpctl/parser.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/bgpctl/parser.c b/usr.sbin/bgpctl/parser.c index f9b6eba5928..7a98e6d65df 100644 --- a/usr.sbin/bgpctl/parser.c +++ b/usr.sbin/bgpctl/parser.c @@ -1,4 +1,4 @@ -/* $OpenBSD: parser.c,v 1.104 2020/05/12 13:26:02 claudio Exp $ */ +/* $OpenBSD: parser.c,v 1.105 2020/12/30 07:31:19 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -136,6 +136,7 @@ static const struct token t_show[] = { { KEYWORD, "tables", SHOW_FIB_TABLES, NULL}, { KEYWORD, "ip", NONE, t_show_ip}, { KEYWORD, "summary", SHOW_SUMMARY, t_show_summary}, + { KEYWORD, "sets", SHOW_SET, NULL}, { KEYWORD, "mrt", SHOW_MRT, t_show_mrt}, { ENDTOKEN, "", NONE, NULL} }; |
