diff options
| author | Enke Chen <enchen@paloaltonetworks.com> | 2024-09-19 08:52:35 -0700 | 
|---|---|---|
| committer | Enke Chen <enchen@paloaltonetworks.com> | 2024-09-19 08:52:35 -0700 | 
| commit | 3c433ae558427d06ca25eeb619503599b5f84172 (patch) | |
| tree | 173eac769f8861b2f38bd716cf05e758bf168a68 /bgpd/bgp_zebra.c | |
| parent | cc7d3afdd5f1674893237849ca974725b24f76fc (diff) | |
bgpd: fix misplaced arguments in bgp_redistribute_add()
Fix the misplaced arguments "bhtype" and "api.distance" in
bgp_redistribute_add().
Signed-off-by: Enke Chen <enchen@paloaltonetworks.com>
Diffstat (limited to 'bgpd/bgp_zebra.c')
| -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 19f26e9c75..bffa5a0e6b 100644 --- a/bgpd/bgp_zebra.c +++ b/bgpd/bgp_zebra.c @@ -542,7 +542,7 @@ static int zebra_read_route(ZAPI_CALLBACK_ARGS)  		/* Now perform the add/update. */  		bgp_redistribute_add(bgp, &api.prefix, &nexthop, ifindex, -				     nhtype, bhtype, api.distance, api.metric, +				     nhtype, api.distance, bhtype, api.metric,  				     api.type, api.instance, api.tag);  	} else {  		bgp_redistribute_delete(bgp, &api.prefix, api.type,  | 
