diff --git a/bgp/src/session.rs b/bgp/src/session.rs index 3397d2bd..3d37d069 100644 --- a/bgp/src/session.rs +++ b/bgp/src/session.rs @@ -1896,7 +1896,6 @@ impl SessionRunner { .collect::>(); update.nlri.retain(|x| message_policy.contains(x)); - update.withdrawn.retain(|x| message_policy.contains(x)); }; let out = match self.shape_update(update, shaper_application)? { @@ -1982,7 +1981,6 @@ impl SessionRunner { .collect::>(); update.nlri.retain(|x| message_policy.contains(x)); - update.withdrawn.retain(|x| message_policy.contains(x)); }; self.update_rib(&update, id, peer_as);