Commit ed2122f4 authored by Alessandro Rubini's avatar Alessandro Rubini

bugfix; announce was being sent twice

commit 3b985b02 added the new vlan-aware issue function, but didn't
remove the old call. Thus, wrs is sending out announce messages twice
in a row (with two proper sequence numbers).
Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent df9c1ace
......@@ -91,10 +91,6 @@ int pp_master(struct pp_instance *ppi, unsigned char *pkt, int plen)
/* Restart the timeout for next time */
pp_timeout_rand(ppi, PP_TO_ANN_INTERVAL,
DSPOR(ppi)->logAnnounceInterval);
if ((e = msg_issue_announce(ppi) < 0))
goto out;
}
if (plen == 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