diff options
| author | Brian Somers <brian@FreeBSD.org> | 2000-07-20 10:38:12 +0000 |
|---|---|---|
| committer | Brian Somers <brian@FreeBSD.org> | 2000-07-20 10:38:12 +0000 |
| commit | 759c81cbad158e89a592d62c5d7e0e49c40a32a5 (patch) | |
| tree | a5bd53df6cf4a1069e7e915079f91824ecbf9690 | |
| parent | f47d88b0b71b9f29c81aa255d993cac9f9e98b2e (diff) | |
Notes
| -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 e1471016376c..6a9b3bac4075 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, |
