Commit 08312612 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Remove calls to send wildcard requests.

Since send_request was buggy, these weren't doing anything.  Don't change
the behaviour, sending wildcard requests at startup is not a good idea.
parent faf57a29
...@@ -582,7 +582,6 @@ main(int argc, char **argv) ...@@ -582,7 +582,6 @@ main(int argc, char **argv)
send_hello(ifp); send_hello(ifp);
send_wildcard_retraction(ifp); send_wildcard_retraction(ifp);
send_self_update(ifp); send_self_update(ifp);
send_request(ifp, NULL, 0, NULL, 0);
flushupdates(ifp); flushupdates(ifp);
flushbuf(ifp); flushbuf(ifp);
} }
......
...@@ -467,7 +467,6 @@ interface_up(struct interface *ifp, int up) ...@@ -467,7 +467,6 @@ interface_up(struct interface *ifp, int up)
send_hello(ifp); send_hello(ifp);
if(rc > 0) if(rc > 0)
send_update(ifp, 0, NULL, 0, NULL, 0); send_update(ifp, 0, NULL, 0, NULL, 0);
send_request(ifp, NULL, 0, NULL, 0);
} else { } else {
flush_interface_routes(ifp, 0); flush_interface_routes(ifp, 0);
ifp->buffered = 0; ifp->buffered = 0;
...@@ -554,7 +553,6 @@ check_interfaces(void) ...@@ -554,7 +553,6 @@ check_interfaces(void)
check_interface_channel(ifp); check_interface_channel(ifp);
rc = check_interface_ipv4(ifp); rc = check_interface_ipv4(ifp);
if(rc > 0) { if(rc > 0) {
send_request(ifp, NULL, 0, NULL, 0);
send_update(ifp, 0, NULL, 0, NULL, 0); send_update(ifp, 0, NULL, 0, NULL, 0);
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment