Skip to content

Commit

Permalink
Merge pull request FRRouting#14774 from idryzhov/bgp-snmp-fix-build
Browse files Browse the repository at this point in the history
bgpd: fix build error
  • Loading branch information
ton31337 authored Nov 12, 2023
2 parents 3444565 + 6eb79dd commit e4ccc8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bgpd/bgp_snmp_bgp4v2.c
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ bgp4v2PathAttrLookup(struct variable *v, oid name[], size_t *length,
family = AF_INET;
else
family = AF_INET6;
memset(&paddr.ip._v4_addr, 0, sizeof(paddr.ip));
memset(&paddr.ip, 0, sizeof(paddr.ip));
}

do {
Expand Down

0 comments on commit e4ccc8f

Please sign in to comment.