summaryrefslogtreecommitdiff
path: root/usr.sbin/pppoe
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2001-02-04 21:25:35 +0000
committerJason Wright <jason@cvs.openbsd.org>2001-02-04 21:25:35 +0000
commitbca9c2710f48babbcb49e180caab6d0bc293b0f7 (patch)
tree5984a789a9c36c334449dccce30eed105680584a /usr.sbin/pppoe
parent2e6864e2909592b30953dd1b61c5f4ece3d68e0e (diff)
setting of maximum fd was wrong; patch from pr 1670: "Evgeni Belin" <ebelin@sauron.dnsalias.net>.
Diffstat (limited to 'usr.sbin/pppoe')
-rw-r--r--usr.sbin/pppoe/client.c4
1 files changed, 2 insertions, 2 deletions
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));