]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Removed RTF_EXTERIOR and RTF_TAGGED (unused).
authorMartin Mares <mj@ucw.cz>
Wed, 1 Mar 2000 15:05:43 +0000 (15:05 +0000)
committerMartin Mares <mj@ucw.cz>
Wed, 1 Mar 2000 15:05:43 +0000 (15:05 +0000)
nest/route.h
nest/rt-attr.c

index da793d6c406950087126997c0d7d917f373b55a2..8b14c85a7afcaf0c2d18883e0cc64deb0ca8e798 100644 (file)
@@ -223,7 +223,7 @@ typedef struct rta {
   byte scope;                          /* Route scope (SCOPE_... -- see ip.h) */
   byte cast;                           /* Casting type (RTC_...) */
   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 rfu, rfu2;                      /* Padding */
   ip_addr gw;                          /* Next hop */
@@ -258,9 +258,6 @@ typedef struct rta {
 #define RTD_UNREACHABLE 3              /* Reject as unreachable */
 #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 */
 
 /*
index 04dcf516484880b2bb0751c4ce48e81c187c6269..99d063e0d97736c720151be0b9b225a53ad3ebea 100644 (file)
@@ -354,10 +354,6 @@ rta_dump(rta *a)
   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],
        rtd[a->dest]);
-  if (a->flags & RTF_EXTERIOR)
-    debug(" EXT");
-  if (a->flags & RTF_TAGGED)
-    debug(" TAG");
   if (!(a->aflags & RTAF_CACHED))
     debug(" !CACHED");
   debug(" <-%I", a->from);