mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 07:48:07 +00:00
lib: remove gcc 4.x workaround for nb structure
Remove gcc 4.x workaround for variable size array as gcc check moved to header file. In lib/northbound.h : struct frr_yang_module_info made size 1000 for gcc 4.x, where maximum 1000 nodes can fit. Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
This commit is contained in:
parent
b00f3e4be4
commit
83ed00f1df
1
lib/if.c
1
lib/if.c
@ -1758,7 +1758,6 @@ lib_interface_state_phy_address_get_elem(const char *xpath,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* clang-format off */
|
/* clang-format off */
|
||||||
|
|
||||||
const struct frr_yang_module_info frr_interface_info = {
|
const struct frr_yang_module_info frr_interface_info = {
|
||||||
.name = "frr-interface",
|
.name = "frr-interface",
|
||||||
.nodes = {
|
.nodes = {
|
||||||
|
Loading…
Reference in New Issue
Block a user