Fixes one previous commit.

This commit is contained in:
Ondrej Zajicek 2009-09-30 16:34:47 +02:00
parent a5bf5f781c
commit aa7088fe26
2 changed files with 2 additions and 2 deletions

View file

@ -340,7 +340,7 @@ krt_read_rt(struct ks_msg *msg, struct krt_proto *p, int scan)
a.iface = ng->iface; a.iface = ng->iface;
else 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; return;
} }

View file

@ -104,7 +104,7 @@ krt_parse_entry(byte *ent, struct krt_proto *p)
a.iface = ng->iface; a.iface = ng->iface;
else 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; return;
} }
a.dest = RTD_ROUTER; a.dest = RTD_ROUTER;