diff options
| author | Renato Westphal <renato@openbsd.org> | 2018-05-23 22:58:52 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-05-23 22:58:52 -0300 |
| commit | 39f7319dacb10df84ea2508634feec513a885a91 (patch) | |
| tree | 0178c88f0bcaa5395504418c5340a0d49dbc83d1 | |
| parent | 2312209c8fa1b35e064623169dd127d8e451a4e8 (diff) | |
| parent | ba1976dbf836cade0b34ed2a74971e7067771952 (diff) | |
Merge pull request #2278 from donaldsharp/uninited_variable
bgpd: Fix use of uninitialized variable
| -rw-r--r-- | bgpd/bgp_zebra.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_zebra.c b/bgpd/bgp_zebra.c index 4a909d8cdc..390eb44eb8 100644 --- a/bgpd/bgp_zebra.c +++ b/bgpd/bgp_zebra.c @@ -1193,7 +1193,7 @@ void bgp_zebra_announce(struct bgp_node *rn, struct prefix *p, return; if (bgp_debug_zebra(p)) - prefix2str(&api.prefix, buf_prefix, sizeof(buf_prefix)); + prefix2str(p, buf_prefix, sizeof(buf_prefix)); if (safi == SAFI_FLOWSPEC) return bgp_pbr_update_entry(bgp, &rn->p, |
