]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Merge commit 'e9e6baae' into HEAD
authorMaria Matejka <mq@ucw.cz>
Tue, 4 Oct 2022 14:02:23 +0000 (16:02 +0200)
committerMaria Matejka <mq@ucw.cz>
Tue, 4 Oct 2022 14:02:23 +0000 (16:02 +0200)
1  2 
sysdep/linux/netlink.c

index 099ae6e910867e5fd0ce7677d0235ff93739cdac,94a37a737daa64458e61883ed0e4b450fcb9ecdc..3443957b4ec8b9397829185d441dc0041f3f5298
@@@ -2012,6 -1874,6 +1874,9 @@@ nl_parse_route(struct nl_parse_state *s
        return;
      }
  
++  if (nhad.ad.length)
++    ea_set_attr(&ra, EA_LITERAL_DIRECT_ADATA(&ea_gen_nexthop, 0, &nhad.ad));
++
    if (i->rtm_scope != def_scope)
      ea_set_attr(&ra,
        EA_LITERAL_EMBEDDED(&ea_krt_scope, 0, i->rtm_scope));