diff options
Diffstat (limited to 'usr.sbin/ppp')
-rw-r--r-- | usr.sbin/ppp/route.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ppp/route.c b/usr.sbin/ppp/route.c index e147101..6a9b3ba 100644 --- a/usr.sbin/ppp/route.c +++ b/usr.sbin/ppp/route.c @@ -488,7 +488,7 @@ route_IfDelete(struct bundle *bundle, int all) for (cp = sp; cp < ep; cp += rtm->rtm_msglen) { rtm = (struct rt_msghdr *)cp; route_ParseHdr(rtm, sa); - if (sa[RTAX_DST]) { + if (sa[RTAX_DST] && sa[RTAX_DST]->sa_family == AF_INET) { log_Printf(LogDEBUG, "route_IfDelete: addrs: %x, Netif: %d (%s)," " flags: %x, dst: %s ?\n", rtm->rtm_addrs, rtm->rtm_index, Index2Nam(rtm->rtm_index), rtm->rtm_flags, |