diff options
| author | F. Aragon <paco@voltanet.io> | 2018-09-13 17:37:08 +0200 |
|---|---|---|
| committer | F. Aragon <paco@voltanet.io> | 2018-09-13 17:37:08 +0200 |
| commit | 7fe96307ee288bd28a54ba4ddfa559a1cf07bb7f (patch) | |
| tree | 43c78be92e26fe2a6adcc231c18ba869e0fb1ccf /pbrd/pbr_nht.c | |
| parent | 6efca3442f9e74c789803cbcfba330cd12de7863 (diff) | |
bgpd lib ospf6d pbrd tests zebra: shadowing fixes
This fixes all remaining local variable shadowing cases
Signed-off-by: F. Aragon <paco@voltanet.io>
Diffstat (limited to 'pbrd/pbr_nht.c')
| -rw-r--r-- | pbrd/pbr_nht.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pbrd/pbr_nht.c b/pbrd/pbr_nht.c index a8cefce84f..7376e3e95b 100644 --- a/pbrd/pbr_nht.c +++ b/pbrd/pbr_nht.c @@ -586,13 +586,13 @@ struct pbr_nexthop_group_cache *pbr_nht_add_group(const char *name) pnhgc); for (ALL_NEXTHOPS(nhgc->nhg, nhop)) { - struct pbr_nexthop_cache lookup; + struct pbr_nexthop_cache lookupc; struct pbr_nexthop_cache *pnhc; - lookup.nexthop = nhop; - pnhc = hash_lookup(pnhgc->nhh, &lookup); + lookupc.nexthop = nhop; + pnhc = hash_lookup(pnhgc->nhh, &lookupc); if (!pnhc) { - pnhc = hash_get(pnhgc->nhh, &lookup, pbr_nh_alloc); + pnhc = hash_get(pnhgc->nhh, &lookupc, pbr_nh_alloc); pnhc->parent = pnhgc; } } |
