summaryrefslogtreecommitdiffstats
path: root/src/config.y
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.y')
-rw-r--r--src/config.y13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/config.y b/src/config.y
index 5794124..27fec71 100644
--- a/src/config.y
+++ b/src/config.y
@@ -105,7 +105,6 @@
%token TOK_DROP
%token TOK_CAPABILITIES
%token TOK_EARLY
-%token TOK_LOCK
%token TOK_LIMIT
%token <addr4> TOK_ADDR4
@@ -135,7 +134,6 @@
%type <num> maybe_bind_default
%type <num> bind_default
%type <num> drop_capabilities_enabled
-%type <boolean> drop_capabilities_lock
%%
start: START_CONFIG config
@@ -190,9 +188,8 @@ group: TOK_STRING {
}
drop_capabilities:
- drop_capabilities_enabled drop_capabilities_lock {
+ drop_capabilities_enabled {
conf->drop_caps = $1;
- conf->lock_caps = $2;
}
drop_capabilities_enabled:
@@ -203,14 +200,6 @@ drop_capabilities_enabled:
$$ = $1 ? DROP_CAPS_ON : DROP_CAPS_OFF;
}
-drop_capabilities_lock:
- TOK_LOCK {
- $$ = true;
- }
- | {
- $$ = false;
- }
-
log: TOK_LEVEL log_level {
conf->log_stderr_level = $2;
}