From 225feb19bb7614b52ea37235b84ddfa0fe363ed6 Mon Sep 17 00:00:00 2001 From: Claudio Jeker Date: Wed, 30 Nov 2005 13:45:20 +0000 Subject: No need to filter incoming withdraws just try to remove everything form the RIB -- if it got filtered before so be it. --- usr.sbin/bgpd/rde.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'usr.sbin/bgpd') diff --git a/usr.sbin/bgpd/rde.c b/usr.sbin/bgpd/rde.c index 8f981cb0102..d5a6335ed9e 100644 --- a/usr.sbin/bgpd/rde.c +++ b/usr.sbin/bgpd/rde.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde.c,v 1.180 2005/11/29 21:11:07 claudio Exp $ */ +/* $OpenBSD: rde.c,v 1.181 2005/11/30 13:45:19 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer @@ -708,11 +708,6 @@ rde_update_dispatch(struct imsg *imsg) return (-1); } - /* input filter */ - if (rde_filter(rules_l, peer, NULL, &prefix, prefixlen, peer, - DIR_IN) == ACTION_DENY) - continue; - rde_update_log("withdraw", peer, NULL, &prefix, prefixlen); prefix_remove(peer, &prefix, prefixlen); } @@ -764,11 +759,6 @@ rde_update_dispatch(struct imsg *imsg) mpp += pos; mplen -= pos; - /* input filter */ - if (rde_filter(rules_l, peer, NULL, &prefix, - prefixlen, peer, DIR_IN) == ACTION_DENY) - continue; - rde_update_log("withdraw", peer, NULL, &prefix, prefixlen); prefix_remove(peer, &prefix, prefixlen); -- cgit v1.2.3