diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2017-03-08 16:27:18 +0100 |
---|---|---|
committer | Jan Moskyto Matejka <mq@ucw.cz> | 2017-03-09 13:47:00 +0100 |
commit | 665be7f6bdbf1fd8dbac45cef533bd4b1df35d4d (patch) | |
tree | 9498d4c4d9cb2533b9ddb89636bede92e00695e2 /nest/rt-attr.c | |
parent | 7126cadf80fce1af2bb4aa33f8bcb7c6b5ff1a47 (diff) |
Nest: Minor fixes in show route
Diffstat (limited to 'nest/rt-attr.c')
-rw-r--r-- | nest/rt-attr.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/nest/rt-attr.c b/nest/rt-attr.c index 2c8ee7db..1b7f5836 100644 --- a/nest/rt-attr.c +++ b/nest/rt-attr.c @@ -58,6 +58,14 @@ #include <stddef.h> +const char * rta_dest_names[RTD_MAX] = { + [RTD_NONE] = "", + [RTD_UNICAST] = "unicast", + [RTD_BLACKHOLE] = "blackhole", + [RTD_UNREACHABLE] = "unreachable", + [RTD_PROHIBIT] = "prohibited", +}; + pool *rta_pool; static slab *rta_slab_[4]; |