]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Use the same attribute names as in filters.
authorMartin Mares <mj@ucw.cz>
Tue, 25 Apr 2000 21:31:15 +0000 (21:31 +0000)
committerMartin Mares <mj@ucw.cz>
Tue, 25 Apr 2000 21:31:15 +0000 (21:31 +0000)
proto/bgp/attrs.c

index c229239ce74e883bfdd8c3ac8513b9fa80edef57..6b8332bbf1b8821f504f9ce617bceac9f0d05d77 100644 (file)
@@ -25,7 +25,7 @@
 static byte bgp_mandatory_attrs[] = { BA_ORIGIN, BA_AS_PATH, BA_NEXT_HOP };
 
 struct attr_desc {
-  char *name;                          /* FIXME: Use the same names as in filters */
+  char *name;
   int expected_length;
   int expected_flags;
   int type;
@@ -88,7 +88,7 @@ static struct attr_desc bgp_attr_table[] = {
     bgp_check_path, NULL },
   { "next_hop", 4, BAF_TRANSITIVE, EAF_TYPE_IP_ADDRESS, 1,     /* BA_NEXT_HOP */
     bgp_check_next_hop, NULL },
-  { "MED", 4, BAF_OPTIONAL, EAF_TYPE_INT, 0,                   /* BA_MULTI_EXIT_DISC */
+  { "med", 4, BAF_OPTIONAL, EAF_TYPE_INT, 0,                   /* BA_MULTI_EXIT_DISC */
     NULL, NULL },
   { "local_pref", 4, BAF_OPTIONAL, EAF_TYPE_INT, 0,            /* BA_LOCAL_PREF */
     NULL, NULL },