mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-17 08:38:42 +00:00
Reverting last patch.
This commit is contained in:
parent
77772dbc65
commit
8281ff201e
@ -107,7 +107,6 @@ krt_sock_send(int cmd, rte *e, char *name)
|
||||
struct ks_msg msg;
|
||||
char *body = (char *)msg.buf;
|
||||
sockaddr gate, mask, dst;
|
||||
static struct iface *loop = NULL;
|
||||
|
||||
DBG("krt-sock: send %I/%d via %I", net->n.prefix, net->n.pxlen, a->gw);
|
||||
|
||||
@ -145,8 +144,6 @@ krt_sock_send(int cmd, rte *e, char *name)
|
||||
* gateway set
|
||||
*/
|
||||
if(!i)
|
||||
{
|
||||
if(!loop)
|
||||
{
|
||||
i = HEAD(iface_list);
|
||||
|
||||
@ -159,8 +156,6 @@ krt_sock_send(int cmd, rte *e, char *name)
|
||||
}
|
||||
}
|
||||
}
|
||||
i = loop;
|
||||
}
|
||||
|
||||
switch (a->dest)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user