From bca9c2710f48babbcb49e180caab6d0bc293b0f7 Mon Sep 17 00:00:00 2001 From: Jason Wright Date: Sun, 4 Feb 2001 21:25:35 +0000 Subject: setting of maximum fd was wrong; patch from pr 1670: "Evgeni Belin" . --- usr.sbin/pppoe/client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin/pppoe') diff --git a/usr.sbin/pppoe/client.c b/usr.sbin/pppoe/client.c index d754f75bd2e..75a21d2e368 100644 --- a/usr.sbin/pppoe/client.c +++ b/usr.sbin/pppoe/client.c @@ -1,4 +1,4 @@ -/* $OpenBSD: client.c,v 1.9 2001/01/19 17:53:17 deraadt Exp $ */ +/* $OpenBSD: client.c,v 1.10 2001/02/04 21:25:34 jason Exp $ */ /* * Copyright (c) 2000 Network Security Technologies, Inc. http://www.netsec.net @@ -122,7 +122,7 @@ client_mode(bfd, sysname, srvname, myea) r = -1; break; } - max = oldmax; + oldmax = max; } bzero(fdsp, howmany(max, NFDBITS) * sizeof(fd_mask)); -- cgit v1.2.3