sd-ndisc: drop sd_ndisc_prefix_match()

This is no longer used.
This commit is contained in:
Tom Gundersen
2015-10-22 17:19:54 +02:00
parent f6e0ce6660
commit f46fc04fac
2 changed files with 2 additions and 10 deletions
+1 -6
View File
@@ -316,13 +316,8 @@ static int ndisc_prefix_match(sd_ndisc *nd, const struct in6_addr *addr,
return -EADDRNOTAVAIL;
}
int sd_ndisc_prefix_match(struct in6_addr *prefix, uint8_t prefixlen,
struct in6_addr *addr) {
return prefix_match(prefix, prefixlen, addr, sizeof(addr->s6_addr) * 8);
}
int sd_ndisc_get_prefixlen(sd_ndisc *nd, const struct in6_addr *addr,
uint8_t *prefixlen) {
uint8_t *prefixlen) {
int r;
NDiscPrefix *prefix;