Don't generate corrupted packets when sending only route deletes.
This commit is contained in:
parent
9cbf43eb8a
commit
507eea4c8b
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue