summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2009-05-29 22:49:30 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2009-05-29 22:49:30 +0200
commit874b868544c3a6ba45ace062091cc3aee007b719 (patch)
treedc9558c4e5e1537ea11469bb4be93bf941b9ee28 /conf
parent51f4469f03759642870a45634d9b53054e3deb92 (diff)
downloadbird-874b868544c3a6ba45ace062091cc3aee007b719.tar
bird-874b868544c3a6ba45ace062091cc3aee007b719.zip
Implements primary address selection base on 'primary' option.
Diffstat (limited to 'conf')
-rw-r--r--conf/confbase.Y6
1 files changed, 6 insertions, 0 deletions
diff --git a/conf/confbase.Y b/conf/confbase.Y
index 4385462..a2df85d 100644
--- a/conf/confbase.Y
+++ b/conf/confbase.Y
@@ -57,6 +57,7 @@ CF_DECLS
%type <time> datetime
%type <a> ipa
%type <px> prefix prefix_or_ipa
+%type <t> text_or_none
%nonassoc PREFIX_DUMMY
%nonassoc '=' '<' '>' '~' '.' GEQ LEQ NEQ AND OR PO PC
@@ -153,6 +154,11 @@ datetime:
}
;
+text_or_none:
+ TEXT { $$ = $1; }
+ | { $$ = NULL; }
+ ;
+
CF_CODE
CF_END