Reset Extendend Length flag when encoding BGP attributes
This commit is contained in:
parent
e6133456c1
commit
18853a82c6
@ -118,7 +118,7 @@ bgp_set_attr(ea_list **attrs, struct linpool *pool, uint code, uint flags, uintp
|
||||
static inline int
|
||||
bgp_put_attr_hdr3(byte *buf, uint code, uint flags, uint len)
|
||||
{
|
||||
*buf++ = flags;
|
||||
*buf++ = flags & ~BAF_EXT_LEN;
|
||||
*buf++ = code;
|
||||
*buf++ = len;
|
||||
return 3;
|
||||
|
Loading…
x
Reference in New Issue
Block a user