diff options
-rw-r--r-- | sbin/routed/rdisc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/routed/rdisc.c b/sbin/routed/rdisc.c index 9cbf957..959b80f 100644 --- a/sbin/routed/rdisc.c +++ b/sbin/routed/rdisc.c @@ -758,7 +758,7 @@ send_rdisc(union ad_u *p, if (rdisc_sock < 0) get_rdisc_sock(); - trace_rdisc(msg, ifp->int_addr, rsin.sin_addr.s_addr, ifp, + trace_rdisc(msg, (ifp ? ifp->int_addr : 0), rsin.sin_addr.s_addr, ifp, p, p_size); if (0 > sendto(rdisc_sock, p, p_size, flags, |