diff options
author | brian <brian@FreeBSD.org> | 1997-12-13 02:37:33 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1997-12-13 02:37:33 +0000 |
commit | b51dc6a0ad3ce435d5255b72124d2220a345c748 (patch) | |
tree | 01ae43c4ae528f7d4f3a9b7aaad7063e4c34bc05 /usr.sbin/ppp/main.c | |
parent | 982ed8caa2c928574b4adcc4149fb11f323b0f46 (diff) | |
download | FreeBSD-src-b51dc6a0ad3ce435d5255b72124d2220a345c748.zip FreeBSD-src-b51dc6a0ad3ce435d5255b72124d2220a345c748.tar.gz |
Allow random IP number allocation to peer.
Validate the peers suggested IP by attempting to make a routing table
entry.
Give up IPCP negotiation if the peer NAKs us with an unusable IP.
Always SIOCDIFADDR then SIOCAIFADDR when configuring the tun device.
Using SIOCSIFDSTADDR allows duplicate dst addresses (which we don't
want)!!!
Allow up to 200 interface names (was 50) (now that ppp can play server
properly).
Up the version number (1.5 -> 1.6).
Cosmetic:
Log unexpected CCP packets in the CCP log rather than the ERROR log.
Log unexpected Config Reqs in the appropriate LCP/IPCP/CCP log rather
than the ERROR log.
Log failed route additions and deletions with WARN, not TCPIP.
Log the option id and length for unrecognised IPCP options.
Change some .Sq to .Ar in the man page.
Diffstat (limited to 'usr.sbin/ppp/main.c')
-rw-r--r-- | usr.sbin/ppp/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/main.c b/usr.sbin/ppp/main.c index c7baf09..4d64a69 100644 --- a/usr.sbin/ppp/main.c +++ b/usr.sbin/ppp/main.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: main.c,v 1.105 1997/11/22 03:37:39 brian Exp $ + * $Id: main.c,v 1.106 1997/12/03 10:23:50 brian Exp $ * * TODO: * o Add commands for traffic summary, version display, etc. @@ -413,7 +413,7 @@ main(int argc, char **argv) fprintf(VarTerm, "Warning: No default entry is given in config file.\n"); if (OpenTunnel(&tunno) < 0) { - LogPrintf(LogWARN, "open_tun: %s\n", strerror(errno)); + LogPrintf(LogWARN, "OpenTunnel: %s\n", strerror(errno)); return EX_START; } if (mode & MODE_INTER) { |