diff options
author | Martin Mares <mj@ucw.cz> | 2000-04-25 21:31:15 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2000-04-25 21:31:15 +0000 |
commit | 99f70c78e11f99f73a142ffcb8b65bd142c0a36c (patch) | |
tree | f0e2e58065f4598f7075fa1290f0c2703007f016 /proto | |
parent | 684c25d98fbfd7cc9275f401d8d451135615af8d (diff) |
Use the same attribute names as in filters.
Diffstat (limited to 'proto')
-rw-r--r-- | proto/bgp/attrs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/proto/bgp/attrs.c b/proto/bgp/attrs.c index c229239c..6b8332bb 100644 --- a/proto/bgp/attrs.c +++ b/proto/bgp/attrs.c @@ -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 }, |