summaryrefslogtreecommitdiff
path: root/nest/rt-attr.c
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2020-02-17 11:18:32 +0100
committerMaria Matejka <mq@ucw.cz>2021-10-13 19:09:04 +0200
commit3660f19dd534224da4870a507efcef5b36794506 (patch)
tree5e9a79d4cb53d5a90259f2b56c487064e2ff9c0d /nest/rt-attr.c
parentc507fb41bb2e62f336357121598debab95a7c767 (diff)
Dropping the RTS_DUMMY temporary route storage.
Kernel route sync is done by other ways now and this code is not used currently.
Diffstat (limited to 'nest/rt-attr.c')
-rw-r--r--nest/rt-attr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/nest/rt-attr.c b/nest/rt-attr.c
index 00744bea..1bece201 100644
--- a/nest/rt-attr.c
+++ b/nest/rt-attr.c
@@ -61,7 +61,6 @@
const adata null_adata; /* adata of length 0 */
const char * const rta_src_names[RTS_MAX] = {
- [RTS_DUMMY] = "",
[RTS_STATIC] = "static",
[RTS_INHERIT] = "inherit",
[RTS_DEVICE] = "device",
@@ -1260,7 +1259,7 @@ rta_do_cow(rta *o, linpool *lp)
void
rta_dump(rta *a)
{
- static char *rts[] = { "RTS_DUMMY", "RTS_STATIC", "RTS_INHERIT", "RTS_DEVICE",
+ static char *rts[] = { "", "RTS_STATIC", "RTS_INHERIT", "RTS_DEVICE",
"RTS_STAT_DEV", "RTS_REDIR", "RTS_RIP",
"RTS_OSPF", "RTS_OSPF_IA", "RTS_OSPF_EXT1",
"RTS_OSPF_EXT2", "RTS_BGP", "RTS_PIPE", "RTS_BABEL" };