0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 09:41:54 +00:00

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

This commit is contained in:
Martin Mares 2000-05-08 12:37:24 +00:00
parent 9cbf43eb8a
commit 507eea4c8b

View File

@ -112,7 +112,7 @@ bgp_create_update(struct bgp_conn *conn, byte *buf)
break; break;
} }
} }
else if (!a_size) /* Attributes not already encoded */
{ {
put_u16(w, 0); put_u16(w, 0);
w += 2; w += 2;