mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 10:54:47 +00:00
ospf6d: Make ospf6_prefix have an empty v6 addr at end
The `struct ospf6_prefix` type expects to have space allocated at the end of the structure for a v6 prefix. So let's tell the compiler that there might be more there. This is to fix a coverity scan warning. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
ce5643b120
commit
c0f76ddf14
@ -62,6 +62,7 @@ struct ospf6_prefix {
|
|||||||
#define prefix_metric u._prefix_metric
|
#define prefix_metric u._prefix_metric
|
||||||
#define prefix_refer_lstype u._prefix_referenced_lstype
|
#define prefix_refer_lstype u._prefix_referenced_lstype
|
||||||
/* followed by one address_prefix */
|
/* followed by one address_prefix */
|
||||||
|
struct in6_addr addr[];
|
||||||
};
|
};
|
||||||
|
|
||||||
#define OSPF6_PREFIX_OPTION_NU (1 << 0) /* No Unicast */
|
#define OSPF6_PREFIX_OPTION_NU (1 << 0) /* No Unicast */
|
||||||
|
Loading…
Reference in New Issue
Block a user