diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2018-11-05 13:56:59 +0100 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2018-11-05 13:56:59 +0100 |
commit | 69b2f63d9a477ab5d083773e16ca15ed2e570144 (patch) | |
tree | c8a23de08a1cf6e7619d7c56d909d9f86270dcf4 /nest/route.h | |
parent | e19d08055a4614f03e51ee72617be10946ce7919 (diff) |
Nest: Fix crash in rta_show() for RPKI and Babel routes
Some new route source values did not have associated string
in rta_show(), which might caused crash in some cases.
Diffstat (limited to 'nest/route.h')
-rw-r--r-- | nest/route.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nest/route.h b/nest/route.h index 2ec1dc7f..e19e11ca 100644 --- a/nest/route.h +++ b/nest/route.h @@ -421,6 +421,7 @@ typedef struct rta { #define RTS_PIPE 12 /* Inter-table wormhole */ #define RTS_BABEL 13 /* Babel route */ #define RTS_RPKI 14 /* Route Origin Authorization */ +#define RTS_MAX 15 #define RTC_UNICAST 0 |