Merge pull request #14776 from FRRouting/mergify/bp/stable/9.1/pr-14774

bgpd: fix build error (backport #14774)
This commit is contained in:
Donatas Abraitis 2023-11-12 21:10:35 +02:00 committed by GitHub
commit 7f8b6884cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -601,7 +601,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 {