summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1999-11-30 15:02:27 +0100
committerMartin Mares <mj@ucw.cz>1999-11-30 15:02:27 +0100
commitf0474f207061151183bb85d59f09422e7bb7e2ee (patch)
tree42f949b122ecd0ce32af3dd4d92208a2472fa1d2
parent487d1afa523706d8b0caec63492f4a2b6cef3bce (diff)
downloadbird-f0474f207061151183bb85d59f09422e7bb7e2ee.tar
bird-f0474f207061151183bb85d59f09422e7bb7e2ee.zip
Use TIME_INFINITY for initialization of password entries instead
of 2000000000 (BTW who wrote that???)
-rw-r--r--nest/config.Y4
1 files changed, 2 insertions, 2 deletions
diff --git a/nest/config.Y b/nest/config.Y
index 7ea2789..b807085 100644
--- a/nest/config.Y
+++ b/nest/config.Y
@@ -73,7 +73,7 @@ proto_start: PROTOCOL
proto_name:
/* EMPTY */ {
- struct symbol *s = cf_default_name(this_proto->proto->name, &this_proto->proto->name_counter);
+ struct symbol *s = cf_default_name(this_proto->protocol->name, &this_proto->protocol->name_counter);
s->class = SYM_PROTO;
s->def = this_proto;
this_proto->name = s->name;
@@ -163,7 +163,7 @@ password_begin:
last_password_item = cfg_alloc(sizeof (struct password_item));
last_password_item->password = $2;
last_password_item->from = 0;
- last_password_item->to = 2000000000;
+ last_password_item->to = TIME_INFINITY;
last_password_item->id = 0;
last_password_item->next = NULL;
$$=last_password_item;