diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2021-01-28 13:53:03 -0500 | 
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2021-01-28 13:57:49 -0500 | 
| commit | 62e0464d73a35f9b469936029a500534c6dc9d6e (patch) | |
| tree | f764785efd80dbc7ff306cac31f64431f9be1362 /bgpd/bgp_pbr.c | |
| parent | 9a290f679ab89f4164a9049920777666830ee092 (diff) | |
bgpd: Remove #if 0 code
Remove all dead #if 0 code from bgpd.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'bgpd/bgp_pbr.c')
| -rw-r--r-- | bgpd/bgp_pbr.c | 13 | 
1 files changed, 0 insertions, 13 deletions
diff --git a/bgpd/bgp_pbr.c b/bgpd/bgp_pbr.c index 4f22f5bcfe..171522f8ae 100644 --- a/bgpd/bgp_pbr.c +++ b/bgpd/bgp_pbr.c @@ -2845,19 +2845,6 @@ static void bgp_pbr_handle_entry(struct bgp *bgp, struct bgp_path_info *path,  					zlog_warn("PBR: Sample action Ignored");  				}  			} -#if 0 -			if (api->actions[i].u.za.filter -			    & TRAFFIC_ACTION_DISTRIBUTE) { -				if (BGP_DEBUG(pbr, PBR)) { -					bgp_pbr_print_policy_route(api); -					zlog_warn("PBR: Distribute action Applies"); -				} -				continue_loop = 0; -				/* continue forwarding entry as before -				 * no action -				 */ -			} -#endif /* XXX to confirm behaviour of traffic action. for now , ignore */  			/* terminate action: run other filters  			 */  			break;  | 
