]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Use `switch' for `disabled'.
authorPavel Machek <pavel@ucw.cz>
Thu, 8 Jun 2000 10:25:56 +0000 (10:25 +0000)
committerPavel Machek <pavel@ucw.cz>
Thu, 8 Jun 2000 10:25:56 +0000 (10:25 +0000)
nest/config.Y

index 67fb2481c445c09cfde851bcaa69ed73aff1e0b9..01cc1ae16737b4ec314c4300f6ef38a166a276b7 100644 (file)
@@ -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; }