summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhenning <henning@openbsd.org>2005-07-28 20:01:21 +0000
committerhenning <henning@openbsd.org>2005-07-28 20:01:21 +0000
commitd18cdaf66dd29123fd272fc825529a3fbfeab36b (patch)
tree7a2f72457d31c93fff835c8641f1adc44083f84a
parentfrom tamas tevesz: (diff)
downloadwireguard-openbsd-d18cdaf66dd29123fd272fc825529a3fbfeab36b.tar.xz
wireguard-openbsd-d18cdaf66dd29123fd272fc825529a3fbfeab36b.zip
keywords have to be sorted, and I can't sort properly
-rw-r--r--usr.sbin/bgpd/parse.y6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/bgpd/parse.y b/usr.sbin/bgpd/parse.y
index b86a80a6be1..8fe1c32ed9d 100644
--- a/usr.sbin/bgpd/parse.y
+++ b/usr.sbin/bgpd/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.169 2005/07/28 16:27:01 henning Exp $ */
+/* $OpenBSD: parse.y,v 1.170 2005/07/28 20:01:21 henning Exp $ */
/*
* Copyright (c) 2002, 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -1455,6 +1455,8 @@ lookup(char *s)
/* this has to be sorted always */
static const struct keywords keywords[] = {
{ "AS", AS},
+ { "IPv4", IPV4},
+ { "IPv6", IPV6},
{ "ah", AH},
{ "allow", ALLOW},
{ "announce", ANNOUNCE},
@@ -1474,8 +1476,6 @@ lookup(char *s)
{ "from", FROM},
{ "group", GROUP},
{ "holdtime", HOLDTIME},
- { "IPv4", IPV4},
- { "IPv6", IPV6},
{ "ignore", IGNORE},
{ "ike", IKE},
{ "in", IN},