diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2005-11-30 13:45:20 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2005-11-30 13:45:20 +0000 |
commit | 225feb19bb7614b52ea37235b84ddfa0fe363ed6 (patch) | |
tree | 2fab663a1e256f33e1c157eaa11f2c843aea3d5c /usr.sbin/bgpd | |
parent | e80dae134cac84287a88ebc35dda272ce0d443f4 (diff) |
No need to filter incoming withdraws just try to remove everything form the
RIB -- if it got filtered before so be it.
Diffstat (limited to 'usr.sbin/bgpd')
-rw-r--r-- | usr.sbin/bgpd/rde.c | 12 |
1 files changed, 1 insertions, 11 deletions
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 <henning@openbsd.org> @@ -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); |