diff options
Diffstat (limited to 'sbin/route/route.c')
-rw-r--r-- | sbin/route/route.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sbin/route/route.c b/sbin/route/route.c index 46d61c2..02a8dce 100644 --- a/sbin/route/route.c +++ b/sbin/route/route.c @@ -883,8 +883,7 @@ getaddr(which, s, hpp) if (ifa->ifa_addr->sa_family != AF_LINK) continue; - if (strcmp(s, ifa->ifa_name) || - (ifa->ifa_flags & IFF_POINTOPOINT) == 0) + if (strcmp(s, ifa->ifa_name)) continue; sdl = (struct sockaddr_dl *)ifa->ifa_addr; |