summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2010-03-31 18:53:24 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2010-03-31 18:53:24 +0000
commit03e578ef63dc46b1899f59c7405261b7e16e76bd (patch)
tree94a6f447e7991ee30e29047c1693ccebab83187d /usr.sbin/bgpd
parentc851547e48e38f21ce92d80b5a3486332494a41a (diff)
network static and network connected have been superseded by network inet
static and network inet connected a long time ago. It is time to remove the old compat code.
Diffstat (limited to 'usr.sbin/bgpd')
-rw-r--r--usr.sbin/bgpd/parse.y14
1 files changed, 1 insertions, 13 deletions
diff --git a/usr.sbin/bgpd/parse.y b/usr.sbin/bgpd/parse.y
index 975682bdb35..0731a460a4e 100644
--- a/usr.sbin/bgpd/parse.y
+++ b/usr.sbin/bgpd/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.249 2010/03/05 15:25:00 claudio Exp $ */
+/* $OpenBSD: parse.y,v 1.250 2010/03/31 18:53:23 claudio Exp $ */
/*
* Copyright (c) 2002, 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -449,18 +449,6 @@ conf_main : AS as4number {
}
free($4);
}
- | NETWORK STATIC filter_set {
- /* keep for compatibility till after next release */
- conf->flags |= BGPD_FLAG_REDIST_STATIC;
- move_filterset($3, &conf->staticset);
- free($3);
- }
- | NETWORK CONNECTED filter_set {
- /* keep for compatibility till after next release */
- conf->flags |= BGPD_FLAG_REDIST_CONNECTED;
- move_filterset($3, &conf->connectset);
- free($3);
- }
| DUMP STRING STRING optnumber {
int action;