diff options
author | Martin Mares <mj@ucw.cz> | 2000-05-04 23:23:10 +0200 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2000-05-04 23:23:10 +0200 |
commit | beaf86e13c6b9595bc979b5ed9669e3e43f793cd (patch) | |
tree | 7f7be17262c4eb8b17d8aa09939caf757f7a5459 /nest | |
parent | 9a220cabbc28a4e54f814aa5d596696a15e6544d (diff) | |
download | bird-beaf86e13c6b9595bc979b5ed9669e3e43f793cd.tar bird-beaf86e13c6b9595bc979b5ed9669e3e43f793cd.zip |
Removed RTS_RIP_EXT.
Diffstat (limited to 'nest')
-rw-r--r-- | nest/config.Y | 2 | ||||
-rw-r--r-- | nest/route.h | 16 | ||||
-rw-r--r-- | nest/rt-attr.c | 2 |
3 files changed, 9 insertions, 11 deletions
diff --git a/nest/config.Y b/nest/config.Y index a909028..26df290 100644 --- a/nest/config.Y +++ b/nest/config.Y @@ -24,7 +24,7 @@ CF_KEYWORDS(INTERFACE, IMPORT, EXPORT, FILTER, NONE, TABLE, STATES, ROUTES, FILT CF_KEYWORDS(PASSWORD, FROM, PASSIVE, TO, ID, EVENTS, PACKETS, PROTOCOLS, INTERFACES) CF_ENUM(T_ENUM_RTS, RTS_, DUMMY, STATIC, INHERIT, DEVICE, STATIC_DEVICE, REDIRECT, - RIP, RIP_EXT, OSPF, OSPF_EXT, OSPF_IA, OSPF_BOUNDARY, BGP, PIPE) + RIP, OSPF, OSPF_EXT, OSPF_IA, OSPF_BOUNDARY, BGP, PIPE) %type <i32> idval %type <f> imexport diff --git a/nest/route.h b/nest/route.h index 31dfa5d..cd9e9ff 100644 --- a/nest/route.h +++ b/nest/route.h @@ -241,13 +241,12 @@ typedef struct rta { #define RTS_STATIC_DEVICE 4 /* Static device route */ #define RTS_REDIRECT 5 /* Learned via redirect */ #define RTS_RIP 6 /* RIP route */ -#define RTS_RIP_EXT 7 /* RIP external route */ -#define RTS_OSPF 8 /* OSPF route */ -#define RTS_OSPF_EXT 9 /* OSPF external route */ -#define RTS_OSPF_IA 10 /* OSPF inter-area route */ -#define RTS_OSPF_BOUNDARY 11 /* OSPF route to boundary router (???) */ -#define RTS_BGP 12 /* BGP route */ -#define RTS_PIPE 13 /* Inter-table wormhole */ +#define RTS_OSPF 7 /* OSPF route */ +#define RTS_OSPF_EXT 8 /* OSPF external route */ +#define RTS_OSPF_IA 9 /* OSPF inter-area route */ +#define RTS_OSPF_BOUNDARY 10 /* OSPF route to boundary router */ +#define RTS_BGP 11 /* BGP route */ +#define RTS_PIPE 12 /* Inter-table wormhole */ #define RTC_UNICAST 0 #define RTC_BROADCAST 1 @@ -350,7 +349,6 @@ extern struct protocol *attr_class_to_protocol[EAP_MAX]; #define DEF_PREF_RIP 120 /* RIP */ #define DEF_PREF_BGP 100 /* BGP */ #define DEF_PREF_OSPF_EXTERNAL 80 /* OSPF external routes */ -#define DEF_PREF_RIP_EXTERNAL 70 /* RIP external routes */ -#define DEF_PREF_PIPE 60 /* Routes piped from other tables */ +#define DEF_PREF_PIPE 70 /* Routes piped from other tables */ #endif diff --git a/nest/rt-attr.c b/nest/rt-attr.c index 17721fb..fd0da97 100644 --- a/nest/rt-attr.c +++ b/nest/rt-attr.c @@ -510,7 +510,7 @@ void rta_dump(rta *a) { static char *rts[] = { "RTS_DUMMY", "RTS_STATIC", "RTS_INHERIT", "RTS_DEVICE", - "RTS_STAT_DEV", "RTS_REDIR", "RTS_RIP", "RTS_RIP_EXT", + "RTS_STAT_DEV", "RTS_REDIR", "RTS_RIP", "RTS_OSPF", "RTS_OSPF_EXT", "RTS_OSPF_IA", "RTS_OSPF_BOUNDARY", "RTS_BGP" }; static char *rtc[] = { "", " BC", " MC", " AC" }; |