Add more rtproto values

This commit is contained in:
shemminger 2006-03-10 23:44:04 +00:00
parent 7e6b809cb9
commit 40b6c62c63
4 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2006-03-10 Alpt <alpt@freaknet.org>
* Add more rt_proto values
2006-03-10 Dale Sedivec <darkness@caliginous.net> 2006-03-10 Dale Sedivec <darkness@caliginous.net>
* Warn when using "handle" instead of "classid" with "tc class" * Warn when using "handle" instead of "classid" with "tc class"

View File

@ -11,6 +11,10 @@
10 mrt 10 mrt
11 zebra 11 zebra
12 bird 12 bird
13 dnrouted
14 xorp
15 ntk
# #
# Used by me for gated # Used by me for gated
# #

View File

@ -199,6 +199,7 @@ enum
#define RTPROT_BIRD 12 /* BIRD */ #define RTPROT_BIRD 12 /* BIRD */
#define RTPROT_DNROUTED 13 /* DECnet routing daemon */ #define RTPROT_DNROUTED 13 /* DECnet routing daemon */
#define RTPROT_XORP 14 /* XORP */ #define RTPROT_XORP 14 /* XORP */
#define RTPROT_NTK 15 /* Netsukuku */
/* rtm_scope /* rtm_scope

View File

@ -71,9 +71,8 @@ static char * rtnl_rtprot_tab[256] = {
[RTPROT_ZEBRA] ="zebra", [RTPROT_ZEBRA] ="zebra",
[RTPROT_BIRD] = "bird", [RTPROT_BIRD] = "bird",
[RTPROT_DNROUTED] = "dnrouted", [RTPROT_DNROUTED] = "dnrouted",
#ifdef RTPROT_XORP
[RTPROT_XORP] = "xorp", [RTPROT_XORP] = "xorp",
#endif [RTPROT_NTK] = "ntk",
}; };