Merge pull request #15743 from anlancs/compile-bgp-vnc

bgpd: fix compile error
This commit is contained in:
Donatas Abraitis 2024-04-15 16:33:04 +03:00 committed by GitHub
commit e53918e499
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3339,7 +3339,9 @@ static void bgp_process_main_one(struct bgp *bgp, struct bgp_dest *dest,
return;
}
#ifdef ENABLE_BGP_VNC
const struct prefix *p = bgp_dest_get_prefix(dest);
#endif
debug = bgp_debug_bestpath(dest);
if (debug)