Commit 5ce7adfc authored by Ondřej Zajíček's avatar Ondřej Zajíček

Babel: Fix accidental bitwise or assignment

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

Thanks to Toke Hoiland-Jorgensen for the patch.
parent 185a0a51
Pipeline #33122 passed with stages
in 4 minutes and 44 seconds
......@@ -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))
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