Revision 8bf684ec

View differences:

nest/config.Y
25 25
CF_KEYWORDS(PRIMARY, STATS, COUNT, FOR, COMMANDS, PREIMPORT)
26 26

  
27 27
CF_ENUM(T_ENUM_RTS, RTS_, DUMMY, STATIC, INHERIT, DEVICE, STATIC_DEVICE, REDIRECT,
28
	RIP, OSPF, OSPF_EXT, OSPF_IA, OSPF_BOUNDARY, BGP, PIPE)
28
	RIP, OSPF, OSPF_EXT, OSPF_IA, BGP, PIPE)
29 29
CF_ENUM(T_ENUM_SCOPE, SCOPE_, HOST, LINK, SITE, ORGANIZATION, UNIVERSE)
30 30
CF_ENUM(T_ENUM_RTC, RTC_, UNICAST, BROADCAST, MULTICAST, ANYCAST)
31 31
CF_ENUM(T_ENUM_RTD, RTD_, ROUTER, DEVICE, BLACKHOLE, UNREACHABLE, PROHIBIT)
nest/route.h
252 252
#define RTS_REDIRECT 5			/* Learned via redirect */
253 253
#define RTS_RIP 6			/* RIP route */
254 254
#define RTS_OSPF 7			/* OSPF route */
255
#define RTS_OSPF_EXT 8			/* OSPF external route */
256
#define RTS_OSPF_IA 9			/* OSPF inter-area route */
257
#define RTS_OSPF_BOUNDARY 10		/* OSPF route to boundary router */
258
#define RTS_BGP 11			/* BGP route */
259
#define RTS_PIPE 12			/* Inter-table wormhole */
255
#define RTS_OSPF_IA 8			/* OSPF inter-area route */
256
#define RTS_OSPF_EXT 9			/* OSPF external route */
257
#define RTS_BGP 10			/* BGP route */
258
#define RTS_PIPE 11			/* Inter-table wormhole */
260 259

  
261 260
#define RTC_UNICAST 0
262 261
#define RTC_BROADCAST 1
nest/rt-attr.c
705 705
{
706 706
  static char *rts[] = { "RTS_DUMMY", "RTS_STATIC", "RTS_INHERIT", "RTS_DEVICE",
707 707
			 "RTS_STAT_DEV", "RTS_REDIR", "RTS_RIP",
708
			 "RTS_OSPF", "RTS_OSPF_EXT", "RTS_OSPF_IA",
709
			 "RTS_OSPF_BOUNDARY", "RTS_BGP" };
708
			 "RTS_OSPF", "RTS_OSPF_EXT", "RTS_OSPF_IA", "RTS_BGP" };
710 709
  static char *rtc[] = { "", " BC", " MC", " AC" };
711 710
  static char *rtd[] = { "", " DEV", " HOLE", " UNREACH", " PROHIBIT" };
712 711

  

Also available in: Unified diff