diff options
Diffstat (limited to 'proto/bgp')
-rw-r--r-- | proto/bgp/packets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/bgp/packets.c b/proto/bgp/packets.c index 6fabacf..88d960d 100644 --- a/proto/bgp/packets.c +++ b/proto/bgp/packets.c @@ -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; |