Commit 5ce7adfc authored by Ondrej Zajicek (work)'s avatar Ondrej Zajicek (work)
Browse files

Babel: Fix accidental bitwise or assignment

Fix an accidental bitwise or assignment that was supposed to be a
comparison.

Thanks to Toke Hoiland-Jorgensen for the patch.
parent 185a0a51
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2145,7 +2145,7 @@ babel_rt_notify(struct proto *P, struct channel *c UNUSED, struct network *net,
    e = babel_get_entry(p, net->n.addr);

    /* Activate triggered updates */
    if ((e->valid |= BABEL_ENTRY_VALID) ||
    if ((e->valid != BABEL_ENTRY_VALID) ||
	(e->router_id != rt_router_id))
    {
      babel_trigger_update(p);