Fix typos in copyright dates This fixes some typos introduced in commit d1506f182ba8, where 1994 got inadvertently changed to 1984 in three cases, and 1989 in another. Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Change my paulus@samba.org email address to paulus@ozlabs.org Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Convert to ANSI C This gets rid of the __P and __V macros that were used so that the code was in theory compilable by a K&R C compiler, and converts the function definitions to ANSI C style. In fact there were already quite a few function definitions in the ANSI C style, so it would not have been compilable by a K&R C compiler in fact. The Solaris and BSD kernel code modules have had __P removed but the function definitions have not been converted. There are some other minor changes here to remove warnings. Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Revert "pppd: Include time.h before using time_t" This reverts commit b6cd5586f72852f56428749202779af596353b9e because it break compilation on Solaris with the following error: /opt/SUNWspro/bin/cc -D_KERNEL -DSVR4 -DSOL2 -DPRIOQ -DDEBUG -I../include -O -Xa -xO2 -xspace -W0,-Lt -c ppp.c "ppp.c", line 113: identifier redeclared: time current : long previous: function(pointer to long) returning long : "/usr/include/iso/time_iso.h", line 91 cc: acomp failed for ppp.c The include/net/ppp_defs.h header is used in the Solaris kernel driver and hence can't include userland headers. Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
pppd: Include time.h before using time_t Signed-off-by: Kurt Van Dijck <dev.kurt@vandijck-laurijssen.be> Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
More copyright updates. The new CMU copyright notice is from CMU and now explicitly allows modifications. I have an acknowledgement from ANU that the work I have done on pppd belongs to me and not to ANU, so I have changed the ANU copyright notices to reflect this.
Added EAP support with MD5-Challenge and SRP-SHA1 methods. Tested on Linux (with both methods) and on Solaris (just MD5-Challenge). Fixed several Makefiles that were missing references to required modules such as tty.o.
ECP patches from Frank Cusack: - If encryption is required, don't bring up IP/IPv6/IPX until the encryption negotiation has completed. - Shut down LCP if the peer sends an LCP ConfRej instead of CCP ConfRej to our MPPE offer. This fixes a bug where the server could not enforce use of encryption in some cases. - Don't send the M=<message> part of an MS-CHAPv2 success packet to peers that don't know how to deal with it. This allows pre-win2k systems to authenticate. - Don't shut down lcp if MPPE was present in peer's CCP offer along with other options. This allows pre-win2k systems to do MPPE (they offer Stac LZS with MPPE). - Add the beginnings of ecp.c. - Other minor changes.
add PPP_IPV6CP
small mods for NeXT
add a few defs
added in some mtu defns
add defs for appletalk
define CBCP protocol value
don't depend on u_int
Protect against problems if bitypes.h from BIND distribution is included.
changed int to time_t for idle times
assume ints are 32 bits; added idle time structure
compression ratio is now fixed point.
split stats ioctl into two