artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c89b02f
)
handle an IRR record of "export ... action X" the same way we handle
author
phessler
<phessler@openbsd.org>
Sat, 25 Apr 2015 13:23:01 +0000
(13:23 +0000)
committer
phessler
<phessler@openbsd.org>
Sat, 25 Apr 2015 13:23:01 +0000
(13:23 +0000)
"import ... action X".
OK benno@ henning@
usr.sbin/bgpctl/irr_parser.c
patch
|
blob
|
history
diff --git
a/usr.sbin/bgpctl/irr_parser.c
b/usr.sbin/bgpctl/irr_parser.c
index
b707e97
..
0c21209
100644
(file)
--- a/
usr.sbin/bgpctl/irr_parser.c
+++ b/
usr.sbin/bgpctl/irr_parser.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: irr_parser.c,v 1.1
2 2015/01/16 06:40:15 deraadt
Exp $ */
+/* $OpenBSD: irr_parser.c,v 1.1
3 2015/04/25 13:23:01 phessler
Exp $ */
/*
* Copyright (c) 2007 Henning Brauer <henning@openbsd.org>
@@
-244,6
+244,8
@@
parse_policy(char *key, char *val)
nextst = PO_PEER_KEY;
else if (!strcmp(tok, "at"))
nextst = PO_RTR_KEY;
+ else if (!strcmp(tok, "action"))
+ nextst = PO_ACTION_KEY;
else if (!strcmp(tok, "announce"))
nextst = PO_FILTER_KEY;
}