diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2004-08-20 15:31:57 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2004-08-20 15:31:57 +0000 |
commit | 42a71bc794ec337a9a2323d714b1c78f4b1945c6 (patch) | |
tree | 2467f20e225f7af2f08cde675200d722ddcef1be /usr.sbin/bgpd/parse.y | |
parent | 50be28188b0267eb4b19eb4ed737d31828803eb0 (diff) |
Grrr. copy paste error. Dump MED and not local-pref. OK henning@
Diffstat (limited to 'usr.sbin/bgpd/parse.y')
-rw-r--r-- | usr.sbin/bgpd/parse.y | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/parse.y b/usr.sbin/bgpd/parse.y index 5c6347cef6f..689d21d3f9d 100644 --- a/usr.sbin/bgpd/parse.y +++ b/usr.sbin/bgpd/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.135 2004/08/20 14:56:09 claudio Exp $ */ +/* $OpenBSD: parse.y,v 1.136 2004/08/20 15:31:56 claudio Exp $ */ /* * Copyright (c) 2002, 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -146,7 +146,7 @@ typedef struct { %token ALLOW DENY MATCH %token QUICK %token FROM TO ANY -%token PREFIX PREFIXLEN SOURCEAS TRANSITAS COMMUNITY +%token PREFIX PREFIXLEN SOURCEAS TRANSITAS EMPTYAS COMMUNITY %token SET LOCALPREF MED METRIC NEXTHOP PREPEND PFTABLE REJECT BLACKHOLE %token ERROR %token IPSEC ESP AH SPI IKE @@ -1048,6 +1048,7 @@ prefixlenop : unaryop number { filter_as_type : AS { $$ = AS_ALL; } | SOURCEAS { $$ = AS_SOURCE; } | TRANSITAS { $$ = AS_TRANSIT; } + | EMPTYAS { $$ = AS_EMPTY; } ; filter_set : /* empty */ { @@ -1205,6 +1206,7 @@ lookup(char *s) { "deny", DENY}, { "descr", DESCR}, { "dump", DUMP}, + { "empty-as", EMPTYAS}, { "enforce", ENFORCE}, { "esp", ESP}, { "fib-update", FIBUPDATE}, |