Skip to content

Commit

Permalink
Remove calls to send wildcard requests.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Juliusz Chroboczek committed Jan 29, 2018
1 parent faf57a2 commit 0831261
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion babeld.c
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,6 @@ main(int argc, char **argv)
send_hello(ifp);
send_wildcard_retraction(ifp);
send_self_update(ifp);
send_request(ifp, NULL, 0, NULL, 0);
flushupdates(ifp);
flushbuf(ifp);
}
Expand Down
2 changes: 0 additions & 2 deletions interface.c
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,6 @@ interface_up(struct interface *ifp, int up)
send_hello(ifp);
if(rc > 0)
send_update(ifp, 0, NULL, 0, NULL, 0);
send_request(ifp, NULL, 0, NULL, 0);
} else {
flush_interface_routes(ifp, 0);
ifp->buffered = 0;
Expand Down Expand Up @@ -554,7 +553,6 @@ check_interfaces(void)
check_interface_channel(ifp);
rc = check_interface_ipv4(ifp);
if(rc > 0) {
send_request(ifp, NULL, 0, NULL, 0);
send_update(ifp, 0, NULL, 0, NULL, 0);
}
}
Expand Down

0 comments on commit 0831261

Please sign in to comment.