summaryrefslogtreecommitdiff
path: root/tests/topotests/ospf_basic_functionality/test_ospf_rte_calc.py
diff options
context:
space:
mode:
authorIgor Ryzhov <iryzhov@nfware.com>2023-11-12 02:57:25 +0200
committerIgor Ryzhov <iryzhov@nfware.com>2023-11-12 02:57:25 +0200
commit6eb79dd6f20d54edff7e55eff9c6fda4c1711111 (patch)
tree8ef3ad26c51e75d0c91922a40490bcff375c43db /tests/topotests/ospf_basic_functionality/test_ospf_rte_calc.py
parent19bcca4f2e9a3ee3c8cc16608dcf303241bbf014 (diff)
bgpd: fix build error
I recieve the following error with GCC 9.4.0: ``` In file included from /usr/include/string.h:495, from ./lib/zebra.h:23, from bgpd/bgp_snmp_bgp4v2.c:7: In function ‘memset’, inlined from ‘bgp4v2PathAttrLookup’ at bgpd/bgp_snmp_bgp4v2.c:605:3, inlined from ‘bgp4v2PathAttrTable’ at bgpd/bgp_snmp_bgp4v2.c:747:9: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:71:10: error: ‘__builtin_memset’ offset [9, 20] from the object at ‘paddr’ is out of the bounds of referenced subobject ‘_v4_addr’ with type ‘struct in_addr’ at offset 4 [-Werror=array-bounds] 71 | return __builtin___memset_chk (__dest, __ch, __len, __bos0 (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ``` Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'tests/topotests/ospf_basic_functionality/test_ospf_rte_calc.py')
0 files changed, 0 insertions, 0 deletions