Commit 507eea4c authored by Martin Mareš's avatar Martin Mareš
Browse files

Don't generate corrupted packets when sending only route deletes.

parent 9cbf43eb
......@@ -112,7 +112,7 @@ bgp_create_update(struct bgp_conn *conn, byte *buf)
break;
}
}
else
if (!a_size) /* Attributes not already encoded */
{
put_u16(w, 0);
w += 2;
......
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