Add more rtproto values
This commit is contained in:
parent
7e6b809cb9
commit
40b6c62c63
|
|
@ -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"
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
#
|
#
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue