summaryrefslogtreecommitdiff
path: root/filter/config.Y
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2020-04-29 15:07:33 +0200
committerOndrej Zajicek (work) <santiago@crfreenet.org>2020-05-02 02:47:18 +0200
commit82bfee76f0adfd50d51833343c63ba9e2afcb60e (patch)
treee2aa0226cefa9ffb5209671c642dcd26e4ab1935 /filter/config.Y
parentb12442c985f2bd8c9fd47ca63151724962fabdc2 (diff)
Filter: Remove quitbird command
No need for this debug filter command and it can be abused from CLI.
Diffstat (limited to 'filter/config.Y')
-rw-r--r--filter/config.Y5
1 files changed, 2 insertions, 3 deletions
diff --git a/filter/config.Y b/filter/config.Y
index 49c59efc..77424a8b 100644
--- a/filter/config.Y
+++ b/filter/config.Y
@@ -273,7 +273,7 @@ assert_assign(struct f_lval *lval, struct f_inst *expr, const char *start, const
CF_DECLS
CF_KEYWORDS(FUNCTION, PRINT, PRINTN, UNSET, RETURN,
- ACCEPT, REJECT, ERROR, QUITBIRD,
+ ACCEPT, REJECT, ERROR,
INT, BOOL, IP, TYPE, PREFIX, RD, PAIR, QUAD, EC, LC,
SET, STRING, BGPMASK, BGPPATH, CLIST, ECLIST, LCLIST,
IF, THEN, ELSE, CASE,
@@ -822,8 +822,7 @@ term:
;
break_command:
- QUITBIRD { $$ = F_QUITBIRD; }
- | ACCEPT { $$ = F_ACCEPT; }
+ ACCEPT { $$ = F_ACCEPT; }
| REJECT { $$ = F_REJECT; }
| ERROR { $$ = F_ERROR; }
;