mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2025-01-03 07:31:54 +00:00
BGP: dropped bgp_fix_attr_flags() (useless remnant from previous versions)
This commit is contained in:
parent
b20b6a9ad2
commit
4972590ea5
@ -1151,14 +1151,6 @@ bgp_attr_known(uint code)
|
|||||||
return (code < ARRAY_SIZE(bgp_attr_table)) && bgp_attr_table[code].name;
|
return (code < ARRAY_SIZE(bgp_attr_table)) && bgp_attr_table[code].name;
|
||||||
}
|
}
|
||||||
|
|
||||||
void bgp_fix_attr_flags(ea_list *attrs)
|
|
||||||
{
|
|
||||||
for (u8 i = 0; i < attrs->count; i++)
|
|
||||||
{
|
|
||||||
attrs->attrs[i].flags = bgp_attr_table[EA_ID(attrs->attrs[i].id)].flags;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Attribute export
|
* Attribute export
|
||||||
*/
|
*/
|
||||||
|
@ -556,8 +556,6 @@ void bgp_store_error(struct bgp_proto *p, struct bgp_conn *c, u8 class, u32 code
|
|||||||
void bgp_stop(struct bgp_proto *p, int subcode, byte *data, uint len);
|
void bgp_stop(struct bgp_proto *p, int subcode, byte *data, uint len);
|
||||||
const char *bgp_format_role_name(u8 role);
|
const char *bgp_format_role_name(u8 role);
|
||||||
|
|
||||||
void bgp_fix_attr_flags(ea_list *attrs);
|
|
||||||
|
|
||||||
static inline int
|
static inline int
|
||||||
rte_resolvable(rte *rt)
|
rte_resolvable(rte *rt)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user