diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2006-04-26 17:13:15 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2006-04-26 17:13:15 +0000 |
commit | 07137833ec5781973940f1475f1928b5514b8b88 (patch) | |
tree | 141a6534ac5247c4654ff4c51bc20a535055e658 /usr.sbin/bgpd/bgpd.h | |
parent | 9726bb597378e1a9d7b4c54f89586344078445ce (diff) |
Remove filterset_names from bgpd.h and replace it with a function because
the table was already out of sync now. OK henning@
Diffstat (limited to 'usr.sbin/bgpd/bgpd.h')
-rw-r--r-- | usr.sbin/bgpd/bgpd.h | 24 |
1 files changed, 2 insertions, 22 deletions
diff --git a/usr.sbin/bgpd/bgpd.h b/usr.sbin/bgpd/bgpd.h index 8c439cc6043..25aba786b08 100644 --- a/usr.sbin/bgpd/bgpd.h +++ b/usr.sbin/bgpd/bgpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bgpd.h,v 1.198 2006/04/25 08:44:08 claudio Exp $ */ +/* $OpenBSD: bgpd.h,v 1.199 2006/04/26 17:13:14 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -607,27 +607,6 @@ enum action_types { ACTION_RTLABEL_ID }; -static const char * const filterset_names[] = { - "localpref", - "localpref", - "metric", - "metric", - "weight", - "weight", - "prepend-self", - "prepend-peer", - "nexthop", - "nexthop", - "nexthop", - "nexthop", - "community", - "community delete", - "pftable", - "pftable", - "rtlabel", - "rtlabel" -}; - struct filter_set { TAILQ_ENTRY(filter_set) entry; union { @@ -771,6 +750,7 @@ void pftable_ref(u_int16_t); /* rde_filter.c */ void filterset_free(struct filter_set_head *); int filterset_cmp(struct filter_set *, struct filter_set *); +const char *filterset_name(enum action_types); /* util.c */ const char *log_addr(const struct bgpd_addr *); |