Commit 29c129a4 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Add missing test for interface being up.

Thanks to Dave Taht.
parent a726ccd5
......@@ -1172,6 +1172,9 @@ really_send_update(struct interface *ifp, const unsigned char *id,
unsigned short seqno, unsigned short metric,
unsigned char *channels, int channels_len)
{
if(!if_up(ifp))
return;
if((ifp->flags & IF_UNICAST) != 0) {
struct neighbour *neigh;
FOR_ALL_NEIGHBOURS(neigh) {
......
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