summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2010-03-31 18:53:23 +0000
committerclaudio <claudio@openbsd.org>2010-03-31 18:53:23 +0000
commit2fad5fe870f64fcf626defdd300ec5b433a553d3 (patch)
tree59489584b3391b0ad173a017878517991c193514
parentDon't accept keys with modifiers as input. Fixes crash reported by Brian (diff)
downloadwireguard-openbsd-2fad5fe870f64fcf626defdd300ec5b433a553d3.tar.xz
wireguard-openbsd-2fad5fe870f64fcf626defdd300ec5b433a553d3.zip
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.
-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;