X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fbfd%2Fbfd_udp.c;h=0a9106e78e5964e611c056e8cdf733ff58209143;hb=cbe25aab3be72154f2c706c39eeba6a77f34450f;hp=c545042c978400941b778bea47bc6ee1963ec35c;hpb=96453fd2417ebd1d69354a7fb692976129cea80e;p=vpp.git diff --git a/src/vnet/bfd/bfd_udp.c b/src/vnet/bfd/bfd_udp.c index c545042c978..0a9106e78e5 100644 --- a/src/vnet/bfd/bfd_udp.c +++ b/src/vnet/bfd/bfd_udp.c @@ -29,7 +29,7 @@ #include #include #include -#include +#include #include #include #include @@ -612,9 +612,9 @@ bfd_udp_validate_api_input (u32 sw_if_index, if (ip6_address_is_link_local_unicast (&local_addr->ip6)) { - ip6_address_t ll_addr; - ll_addr = ip6_neighbor_get_link_local_address (sw_if_index); - if (ip6_address_is_equal (&ll_addr, &local_addr->ip6)) + const ip6_address_t *ll_addr; + ll_addr = ip6_get_link_local_address (sw_if_index); + if (ip6_address_is_equal (ll_addr, &local_addr->ip6)) { /* valid address for this interface */ local_ip_valid = 1;