summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/bgpd.h
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2005-11-01 10:58:30 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2005-11-01 10:58:30 +0000
commitbed0359dda1f1de56865b5bf8d013c0c84fe4ba2 (patch)
treefc9aa6b67295c4c0b6980d2ea35f79f1c58634a7 /usr.sbin/bgpd/bgpd.h
parent8ee6bca0a986f60e072d3b5d9593d08416fcc6e2 (diff)
Switch from the per peer filter set list to a filter-only solution.
The default filter_sets are converted into match filter rules that get evaluated first. Simplifies code massively -- mainly the config reload part -- and makes softreconfig out a piece of cake. "get it in" henning@
Diffstat (limited to 'usr.sbin/bgpd/bgpd.h')
-rw-r--r--usr.sbin/bgpd/bgpd.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/usr.sbin/bgpd/bgpd.h b/usr.sbin/bgpd/bgpd.h
index c4578092e6f..5fdf69f66da 100644
--- a/usr.sbin/bgpd/bgpd.h
+++ b/usr.sbin/bgpd/bgpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bgpd.h,v 1.179 2005/10/19 12:32:16 henning Exp $ */
+/* $OpenBSD: bgpd.h,v 1.180 2005/11/01 10:58:29 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -212,7 +212,6 @@ struct peer_config {
struct bgpd_addr local_addr;
struct peer_auth auth;
struct capabilities capabilities;
- struct filter_set_head attrset;
char group[PEER_DESCR_LEN];
char descr[PEER_DESCR_LEN];
char if_depend[IFNAMSIZ];
@@ -498,9 +497,7 @@ enum filter_actions {
enum directions {
DIR_IN = 1,
- DIR_OUT,
- DIR_DEFAULT_IN, /* only needed to apply default set */
- DIR_DEFAULT_OUT
+ DIR_OUT
};
enum from_spec {