]> git.proxmox.com Git - mirror_frr.git/commit - ripd/rip_nb_config.c
*: Properly use memset() when zeroing
authorDonatas Abraitis <donatas@opensourcerouting.org>
Wed, 11 May 2022 10:16:44 +0000 (13:16 +0300)
committerDonatas Abraitis <donatas@opensourcerouting.org>
Wed, 11 May 2022 11:08:47 +0000 (14:08 +0300)
commit6006b807b1a84d31611173b837fafcd96ba9d692
tree08f25453328d8c408f1a8c658e4e6ef91005d4a7
parentf51eeb864bc821d92bd8e95670dde1258ed0747c
*: Properly use memset() when zeroing

    Wrong: memset(&a, 0, sizeof(struct ...));
    Good:  memset(&a, 0, sizeof(a));

Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
82 files changed:
bgpd/bgp_aspath.c
bgpd/bgp_attr.c
bgpd/bgp_attr_evpn.c
bgpd/bgp_debug.c
bgpd/bgp_dump.c
bgpd/bgp_evpn.c
bgpd/bgp_evpn_mh.c
bgpd/bgp_evpn_vty.c
bgpd/bgp_flowspec.c
bgpd/bgp_flowspec_util.c
bgpd/bgp_keepalives.c
bgpd/bgp_label.c
bgpd/bgp_mplsvpn.c
bgpd/bgp_nexthop.c
bgpd/bgp_packet.c
bgpd/bgp_pbr.c
bgpd/bgp_route.c
bgpd/bgp_snmp.c
bgpd/bgp_zebra.c
bgpd/bgpd.c
bgpd/rfapi/vnc_import_bgp.c
bgpd/rfp-example/librfp/rfp_example.c
eigrpd/eigrp_packet.c
eigrpd/eigrp_snmp.c
eigrpd/eigrpd.c
isisd/isis_bpf.c
isisd/isis_pfpacket.c
isisd/isisd.c
lib/keychain.c
lib/routemap.c
lib/sockunion.c
lib/table.c
lib/vty.c
nhrpd/vici.c
ospf6d/ospf6_asbr.c
ospf6d/ospf6_auth_trailer.c
ospf6d/ospf6_intra.c
ospf6d/ospf6_network.c
ospf6d/ospf6_route.c
ospf6d/ospf6_top.c
ospf6d/ospf6_zebra.c
ospfclient/ospf_apiclient.c
ospfd/ospf_apiserver.c
ospfd/ospf_asbr.c
ospfd/ospf_ext.c
ospfd/ospf_lsa.c
ospfd/ospf_lsdb.c
ospfd/ospf_packet.c
ospfd/ospf_ri.c
ospfd/ospf_snmp.c
ospfd/ospf_sr.c
ospfd/ospf_te.c
ospfd/ospf_zebra.c
ospfd/ospfd.c
pathd/path_pcep_cli.c
pceplib/pcep_pcc.c
pimd/pim_nht.c
pimd/pim_register.c
pimd/pim_sock.c
ripd/rip_interface.c
ripd/rip_nb_config.c
ripd/rip_snmp.c
ripd/ripd.c
ripngd/ripngd.c
vtysh/vtysh.c
watchfrr/watchfrr.c
zebra/connected.c
zebra/ioctl.c
zebra/kernel_socket.c
zebra/rt_netlink.c
zebra/rtadv.c
zebra/zapi_msg.c
zebra/zebra_evpn.c
zebra/zebra_evpn_mac.c
zebra/zebra_evpn_neigh.c
zebra/zebra_fpm.c
zebra/zebra_mpls.c
zebra/zebra_mpls_vty.c
zebra/zebra_netns_notify.c
zebra/zebra_ptm.c
zebra/zebra_rib.c
zebra/zebra_vxlan.c