diff options
| author | 2012-05-27 18:53:50 +0000 | |
|---|---|---|
| committer | 2012-05-27 18:53:50 +0000 | |
| commit | f486926a6503f69b79239604d96c85c3b45e37ff (patch) | |
| tree | ed2f752ae67b0388ca7d5e35d5d1db2206a78748 /usr.sbin/bgpctl/parser.c | |
| parent | Extend the network code to allow attributes to be passed in with prefixes. (diff) | |
| download | wireguard-openbsd-f486926a6503f69b79239604d96c85c3b45e37ff.tar.xz wireguard-openbsd-f486926a6503f69b79239604d96c85c3b45e37ff.zip | |
Make it possible to load mrt table dumps into bgpd. This is a debug tool but
it allows anyone to use MRT table dumps to load prefixes into a bgpd instance.
For example you can download the RIPE dumps and load full-feeds onto your
laptop until the poor thing dies.
OK henning@ sthen@
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 05744c844ee..a31074c9527 100644 --- a/usr.sbin/bgpctl/parser.c +++ b/usr.sbin/bgpctl/parser.c @@ -1,4 +1,4 @@ -/* $OpenBSD: parser.c,v 1.64 2012/03/27 18:24:11 claudio Exp $ */ +/* $OpenBSD: parser.c,v 1.65 2012/05/27 18:53:50 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -278,6 +278,7 @@ static const struct token t_network[] = { { KEYWORD, "delete", NETWORK_REMOVE, t_prefix}, { KEYWORD, "flush", NETWORK_FLUSH, NULL}, { KEYWORD, "show", NETWORK_SHOW, t_network_show}, + { KEYWORD, "mrt", NETWORK_MRT, t_show_mrt}, { ENDTOKEN, "", NONE, NULL} }; |
