Use switch' for
disabled'.
This commit is contained in:
parent
ec423cc725
commit
ca77641d07
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ proto_item:
|
||||||
if ($2 < 0 || $2 > 255) cf_error("Invalid preference");
|
if ($2 < 0 || $2 > 255) cf_error("Invalid preference");
|
||||||
this_proto->preference = $2;
|
this_proto->preference = $2;
|
||||||
}
|
}
|
||||||
| DISABLED { this_proto->disabled = 1; }
|
| DISABLED bool { this_proto->disabled = $2; }
|
||||||
| DEBUG debug_mask { this_proto->debug = $2; }
|
| DEBUG debug_mask { this_proto->debug = $2; }
|
||||||
| IMPORT imexport { this_proto->in_filter = $2; }
|
| IMPORT imexport { this_proto->in_filter = $2; }
|
||||||
| EXPORT imexport { this_proto->out_filter = $2; }
|
| EXPORT imexport { this_proto->out_filter = $2; }
|
||||||
|
|
Loading…
Reference in a new issue