mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
Don't generate corrupted packets when sending only route deletes.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user