Removed RTF_EXTERIOR and RTF_TAGGED (unused).
This commit is contained in:
parent
85053fce04
commit
c8518ae136
2 changed files with 1 additions and 8 deletions
|
@ -223,7 +223,7 @@ typedef struct rta {
|
||||||
byte scope; /* Route scope (SCOPE_... -- see ip.h) */
|
byte scope; /* Route scope (SCOPE_... -- see ip.h) */
|
||||||
byte cast; /* Casting type (RTC_...) */
|
byte cast; /* Casting type (RTC_...) */
|
||||||
byte dest; /* Route destination type (RTD_...) */
|
byte dest; /* Route destination type (RTD_...) */
|
||||||
byte flags; /* Route flags (RTF_...) */
|
byte flags; /* Route flags (RTF_...), now unused */
|
||||||
byte aflags; /* Attribute cache flags (RTAF_...) */
|
byte aflags; /* Attribute cache flags (RTAF_...) */
|
||||||
byte rfu, rfu2; /* Padding */
|
byte rfu, rfu2; /* Padding */
|
||||||
ip_addr gw; /* Next hop */
|
ip_addr gw; /* Next hop */
|
||||||
|
@ -258,9 +258,6 @@ typedef struct rta {
|
||||||
#define RTD_UNREACHABLE 3 /* Reject as unreachable */
|
#define RTD_UNREACHABLE 3 /* Reject as unreachable */
|
||||||
#define RTD_PROHIBIT 4 /* Administratively prohibited */
|
#define RTD_PROHIBIT 4 /* Administratively prohibited */
|
||||||
|
|
||||||
#define RTF_EXTERIOR 1 /* Learned via exterior protocol */
|
|
||||||
#define RTF_TAGGED 2 /* Tagged external route learned via IGP */
|
|
||||||
|
|
||||||
#define RTAF_CACHED 1 /* This is a cached rta */
|
#define RTAF_CACHED 1 /* This is a cached rta */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -354,10 +354,6 @@ rta_dump(rta *a)
|
||||||
debug("p=%s uc=%d %s %s%s%s",
|
debug("p=%s uc=%d %s %s%s%s",
|
||||||
a->proto->name, a->uc, rts[a->source], ip_scope_text(a->scope), rtc[a->cast],
|
a->proto->name, a->uc, rts[a->source], ip_scope_text(a->scope), rtc[a->cast],
|
||||||
rtd[a->dest]);
|
rtd[a->dest]);
|
||||||
if (a->flags & RTF_EXTERIOR)
|
|
||||||
debug(" EXT");
|
|
||||||
if (a->flags & RTF_TAGGED)
|
|
||||||
debug(" TAG");
|
|
||||||
if (!(a->aflags & RTAF_CACHED))
|
if (!(a->aflags & RTAF_CACHED))
|
||||||
debug(" !CACHED");
|
debug(" !CACHED");
|
||||||
debug(" <-%I", a->from);
|
debug(" <-%I", a->from);
|
||||||
|
|
Loading…
Reference in a new issue