From ac40c888c21c72ae7f6c3d329dd2ba5417eec009 Mon Sep 17 00:00:00 2001 From: Pavel Machek Date: Sat, 2 Oct 1999 10:44:48 +0000 Subject: Obvious bugs in authentication fixed. --- nest/config.Y | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'nest/config.Y') diff --git a/nest/config.Y b/nest/config.Y index dfef4e2..91cdad1 100644 --- a/nest/config.Y +++ b/nest/config.Y @@ -159,7 +159,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 = ~0; + last_password_item->to = 2000000000; last_password_item->id = 0; last_password_item->next = NULL; $$=last_password_item; @@ -177,8 +177,8 @@ password_items: password_list: /* empty */ { $$ = NULL; } | password_begin password_items ';' password_list { - last_password_item->next = $4; - $$ = last_password_item; + $1->next = $4; + $$ = $1; } ; -- cgit v1.2.3