Revision e81b440f proto/bgp/attrs.c

View differences:

proto/bgp/attrs.c
47 47
}
48 48

  
49 49
static void
50
bgp_format_origin(eattr *a, byte *buf, int buflen)
50
bgp_format_origin(eattr *a, byte *buf, int buflen UNUSED)
51 51
{
52 52
  static char *bgp_origin_names[] = { "IGP", "EGP", "Incomplete" };
53 53

  
......
257 257
    NULL, NULL },
258 258
  { "cluster_list", -1, BAF_OPTIONAL, EAF_TYPE_INT_SET, 0,			/* BA_CLUSTER_LIST */
259 259
    bgp_check_cluster_list, bgp_format_cluster_list }, 
260
  { NULL, },									/* BA_DPA */
261
  { NULL, },									/* BA_ADVERTISER */
262
  { NULL, },									/* BA_RCID_PATH */
260
  { .name = NULL },								/* BA_DPA */
261
  { .name = NULL },									/* BA_ADVERTISER */
262
  { .name = NULL },									/* BA_RCID_PATH */
263 263
  { "mp_reach_nlri", -1, BAF_OPTIONAL, EAF_TYPE_OPAQUE, 1,			/* BA_MP_REACH_NLRI */
264 264
    bgp_check_reach_nlri, NULL },
265 265
  { "mp_unreach_nlri", -1, BAF_OPTIONAL, EAF_TYPE_OPAQUE, 1,			/* BA_MP_UNREACH_NLRI */
266 266
    bgp_check_unreach_nlri, NULL },
267
  { NULL, },									/* BA_EXTENDED_COMM */
267
  {  .name = NULL },									/* BA_EXTENDED_COMM */
268 268
  { "as4_path", -1, BAF_OPTIONAL | BAF_TRANSITIVE, EAF_TYPE_OPAQUE, 1,		/* BA_AS4_PATH */
269 269
    NULL, NULL },
270 270
  { "as4_aggregator", -1, BAF_OPTIONAL | BAF_TRANSITIVE, EAF_TYPE_OPAQUE, 1,	/* BA_AS4_PATH */

Also available in: Unified diff