summaryrefslogtreecommitdiff
path: root/proto/ospf/config.Y
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2018-03-07 17:35:24 +0100
committerOndrej Zajicek (work) <santiago@crfreenet.org>2018-03-07 17:35:24 +0100
commit2d6d4b80539be13aa53c6751fb33689b263e4010 (patch)
tree38fa587e13f2e4e9277e4a1150d6589571987ac8 /proto/ospf/config.Y
parentd6cf996151307d083c30e4ecde0f1d7449b19253 (diff)
Babel: Fix build with restricted protocol set
All keywords used in Babel config have to be declared locally. Thanks to Leo Vandewoestijne for the bugreport.
Diffstat (limited to 'proto/ospf/config.Y')
-rw-r--r--proto/ospf/config.Y6
1 files changed, 0 insertions, 6 deletions
diff --git a/proto/ospf/config.Y b/proto/ospf/config.Y
index 7b35b191..46b8b238 100644
--- a/proto/ospf/config.Y
+++ b/proto/ospf/config.Y
@@ -146,7 +146,6 @@ CF_KEYWORDS(WAIT, DELAY, LSADB, ECMP, LIMIT, WEIGHT, NSSA, TRANSLATOR, STABILITY
CF_KEYWORDS(GLOBAL, LSID, ROUTER, SELF, INSTANCE, REAL, NETMASK, TX, PRIORITY, LENGTH)
CF_KEYWORDS(SECONDARY, MERGE, LSA, SUPPRESSION)
-%type <t> opttext
%type <ld> lsadb_args
%type <i> nbma_eligible
@@ -415,11 +414,6 @@ ospf_iface:
ospf_iface_start ospf_iface_patt_list ospf_iface_opt_list { ospf_iface_finish(); }
;
-opttext:
- TEXT
- | /* empty */ { $$ = NULL; }
- ;
-
CF_ADDTO(dynamic_attr, OSPF_METRIC1 { $$ = f_new_dynamic_attr(EAF_TYPE_INT | EAF_TEMP, T_INT, EA_OSPF_METRIC1); })
CF_ADDTO(dynamic_attr, OSPF_METRIC2 { $$ = f_new_dynamic_attr(EAF_TYPE_INT | EAF_TEMP, T_INT, EA_OSPF_METRIC2); })
CF_ADDTO(dynamic_attr, OSPF_TAG { $$ = f_new_dynamic_attr(EAF_TYPE_INT | EAF_TEMP, T_INT, EA_OSPF_TAG); })