From aa7088fe2646e53b5168f7ea4e5bd098f891951c Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Wed, 30 Sep 2009 16:34:47 +0200 Subject: Fixes one previous commit. --- sysdep/bsd/krt-sock.c | 2 +- sysdep/linux/krt-scan.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sysdep') diff --git a/sysdep/bsd/krt-sock.c b/sysdep/bsd/krt-sock.c index 29ebe20..4842a6b 100644 --- a/sysdep/bsd/krt-sock.c +++ b/sysdep/bsd/krt-sock.c @@ -340,7 +340,7 @@ krt_read_rt(struct ks_msg *msg, struct krt_proto *p, int scan) a.iface = ng->iface; else { - log(L_WARN "Kernel told us to use non-neighbor %I for %I/%d", ra.gw, net->n.prefix, net->n.pxlen); + log(L_WARN "Kernel told us to use non-neighbor %I for %I/%d", igate, net->n.prefix, net->n.pxlen); return; } diff --git a/sysdep/linux/krt-scan.c b/sysdep/linux/krt-scan.c index 374cf01..feb128e 100644 --- a/sysdep/linux/krt-scan.c +++ b/sysdep/linux/krt-scan.c @@ -104,7 +104,7 @@ krt_parse_entry(byte *ent, struct krt_proto *p) a.iface = ng->iface; else { - log(L_WARN "Kernel told us to use non-neighbor %I for %I/%d", ra.gw, net->n.prefix, net->n.pxlen); + log(L_WARN "Kernel told us to use non-neighbor %I for %I/%d", gw, net->n.prefix, net->n.pxlen); return; } a.dest = RTD_ROUTER; -- cgit v1.2.3