Revision 99f70c78

View differences:

proto/bgp/attrs.c
25 25
static byte bgp_mandatory_attrs[] = { BA_ORIGIN, BA_AS_PATH, BA_NEXT_HOP };
26 26

  
27 27
struct attr_desc {
28
  char *name;				/* FIXME: Use the same names as in filters */
28
  char *name;
29 29
  int expected_length;
30 30
  int expected_flags;
31 31
  int type;
......
88 88
    bgp_check_path, NULL },
89 89
  { "next_hop", 4, BAF_TRANSITIVE, EAF_TYPE_IP_ADDRESS, 1,	/* BA_NEXT_HOP */
90 90
    bgp_check_next_hop, NULL },
91
  { "MED", 4, BAF_OPTIONAL, EAF_TYPE_INT, 0,			/* BA_MULTI_EXIT_DISC */
91
  { "med", 4, BAF_OPTIONAL, EAF_TYPE_INT, 0,			/* BA_MULTI_EXIT_DISC */
92 92
    NULL, NULL },
93 93
  { "local_pref", 4, BAF_OPTIONAL, EAF_TYPE_INT, 0,		/* BA_LOCAL_PREF */
94 94
    NULL, NULL },

Also available in: Unified diff