summaryrefslogtreecommitdiffstats
path: root/sysdep
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2009-09-30 16:34:47 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2009-09-30 16:34:47 +0200
commitaa7088fe2646e53b5168f7ea4e5bd098f891951c (patch)
treeed7e39124d1ab861412b904a99e5c2bb9d0499b3 /sysdep
parenta5bf5f781cf921bd1e092b7f9ae6ccdbf7424428 (diff)
downloadbird-aa7088fe2646e53b5168f7ea4e5bd098f891951c.tar
bird-aa7088fe2646e53b5168f7ea4e5bd098f891951c.zip
Fixes one previous commit.
Diffstat (limited to 'sysdep')
-rw-r--r--sysdep/bsd/krt-sock.c2
-rw-r--r--sysdep/linux/krt-scan.c2
2 files changed, 2 insertions, 2 deletions
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;