summaryrefslogtreecommitdiffstats
path: root/nest
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2000-06-08 12:25:56 +0200
committerPavel Machek <pavel@ucw.cz>2000-06-08 12:25:56 +0200
commitca77641d0787be514cae6a622e26e6a58af11d12 (patch)
treeffba5251b98e90ece8d9561397f4791081fe2ab1 /nest
parentec423cc725d4b097e596dbadd84f3dea40deb0b8 (diff)
downloadbird-ca77641d0787be514cae6a622e26e6a58af11d12.tar
bird-ca77641d0787be514cae6a622e26e6a58af11d12.zip
Use `switch' for `disabled'.
Diffstat (limited to 'nest')
-rw-r--r--nest/config.Y2
1 files changed, 1 insertions, 1 deletions
diff --git a/nest/config.Y b/nest/config.Y
index 67fb248..01cc1ae 100644
--- a/nest/config.Y
+++ b/nest/config.Y
@@ -96,7 +96,7 @@ proto_item:
if ($2 < 0 || $2 > 255) cf_error("Invalid preference");
this_proto->preference = $2;
}
- | DISABLED { this_proto->disabled = 1; }
+ | DISABLED bool { this_proto->disabled = $2; }
| DEBUG debug_mask { this_proto->debug = $2; }
| IMPORT imexport { this_proto->in_filter = $2; }
| EXPORT imexport { this_proto->out_filter = $2; }