diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2006-02-09 21:05:10 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2006-02-09 21:05:10 +0000 |
commit | 2f1965eec8d09c342d0a1401eafcb77208fa4e49 (patch) | |
tree | 0ecb3f4388a36a29d3a6cec51a864d281763879a /usr.sbin/bgpd/rde.h | |
parent | ebb062301276fefbe998ef6a1d58adc999c30b43 (diff) |
Implement "set community delete 65001:*" and friends. This will remove
communities from the path attributes. Useful to make sure that the ones you
set later are set by a (evil) peer. OK henning@
Diffstat (limited to 'usr.sbin/bgpd/rde.h')
-rw-r--r-- | usr.sbin/bgpd/rde.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/rde.h b/usr.sbin/bgpd/rde.h index 749be49c67f..87471be8474 100644 --- a/usr.sbin/bgpd/rde.h +++ b/usr.sbin/bgpd/rde.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rde.h,v 1.88 2006/02/02 14:06:05 claudio Exp $ */ +/* $OpenBSD: rde.h,v 1.89 2006/02/09 21:05:09 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Claudio Jeker <claudio@openbsd.org> and @@ -291,6 +291,7 @@ struct aspath *aspath_prepend(struct aspath *, u_int16_t, int); int aspath_match(struct aspath *, enum as_spec, u_int16_t); int community_match(void *, u_int16_t, int, int); int community_set(struct rde_aspath *, int, int); +void community_delete(struct rde_aspath *, int, int); /* rde_rib.c */ void path_init(u_int32_t); |