Commit a1f92cf1 authored by Pavel Tvrdík's avatar Pavel Tvrdík
Browse files

RPKI: remove old code from grammar

parent 53e411b3
Loading
Loading
Loading
Loading
+7 −14
Original line number Diff line number Diff line
@@ -36,12 +36,6 @@ proto_start RPKI {
}
;

rpki_proto_finish:
{
//  if (RPKI_CFG->roa_table_cf == NULL)
//    cf_error("For the RPKI protocol must be specified a roa table");
};

rpki_proto_opts:
   /* empty */
 | rpki_proto_opts rpki_proto_item ';'
@@ -50,11 +44,10 @@ rpki_proto_opts:
rpki_proto_item:
   proto_item
 | CACHE rpki_cache
/* | ROA TABLE roa_table_cf { RPKI_CFG->roa_table_cf = $3; } */
 ;

rpki_cache:
rpki_cache_init rpki_cache_addr rpki_optional_cache_opts rpki_cache_finish {
rpki_cache_init rpki_cache_addr rpki_optional_cache_opts {
  add_tail(&RPKI_CFG->cache_cfg_list, &this_rpki_cache_cfg->n);
}
;