Date: Sun, 9 Jun 1996 19:41:05 +0930 (CST) From: Peter Childs <pjchilds@imforei.apana.org.au> To: freebsd-stable@freebsd.org Cc: davo@katy.apana.org.au Subject: ctm-114 breaks ppp (limit of 10 tun devices) Message-ID: <199606091011.TAA23813@al.imforei.apana.org.au>
next in thread | raw e-mail | index | archive | help
Gday. Talking 2.1-stable ctm release 114. the changes to /usr/src/usr.sbin/ppp/os.c, function OpenTunnel(ptun) indicated to me that there can only be tunnel devices from 0->9... its a neat loop, but perhaps it belongs in a obstfucated (that word) code competition. the plain old for loop in previous versions seemed to do the trick just as well and only limited us to 256 tun devices... 10 tun devices is just too small on a 38 port server. also line 150 of /sys/net/if_tun.c should return EBUSY rather than ENXIO... Peter -- Peter Childs --- http://www.imforei.apana.org.au/~pjchilds Active APANA SA Member --- Author PopWatch + Inf-HTML Email: pjchilds@imforei.apana.org.au Fax: 61-8-82784742
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199606091011.TAA23813>