diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2004-11-11 16:50:34 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2004-11-11 16:50:34 +0000 |
commit | baba9ffb848aa16a80ebed1db5eb4518cc22c255 (patch) | |
tree | c6314a6bd3449ee46cbfaca1ef5db509b1993108 | |
parent | 951a1a065537b595ae869ecc9ce04389fb14c0f4 (diff) |
Pass the copied as-path attributes to the filter function and not the
original. Affected code is currently still unreachable.
-rw-r--r-- | usr.sbin/bgpd/rde.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/rde.c b/usr.sbin/bgpd/rde.c index 3ebaf921537..ff4366e8cf8 100644 --- a/usr.sbin/bgpd/rde.c +++ b/usr.sbin/bgpd/rde.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde.c,v 1.149 2004/11/11 13:29:37 henning Exp $ */ +/* $OpenBSD: rde.c,v 1.150 2004/11/11 16:50:33 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -798,7 +798,7 @@ rde_update_dispatch(struct imsg *imsg) fasp = path_copy(asp); /* input filter */ - if (rde_filter(peer, asp, &prefix, + if (rde_filter(peer, fasp, &prefix, prefixlen, DIR_IN) == ACTION_DENY) { path_put(fasp); continue; |