9fans archive / 1996 / 09 / 2 /    prev next

From: Russ Cox rsc@res...
Subject: ppp fix
Date: Sun, 1 Sep 1996 22:27:03 -0400 (EDT)

i didn't play with pppserver.l because
i don't serve ppp and couldn't test it.
but if you change the ipconfig call to
	ipconfig(myipaddr, ipmask, 1500, 1);
then that will at least put it back to the
way it was before (assuming 1500 mtu).
i'll have to look at the code a little more in
depth to figure out if it even matters just
yet.
the standard ppp default is for 1500 mtu
nuless specified by either side, and we're
not specifying it.  i suppose the client ppp
software could request a lower mtu, but i
bet it rarely happens.  i'm not sure i see a 
good way to handle mtu in the server on a
per-client basis.

i think i'll try to figure that out after i get
chap authentication working.

russ