summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pppd/sys-bsd.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* getifaddrs() can return entries where ifa_addr is NULL. Check for thisbenno2020-12-291-3/+8
| | | | | before accessing anything in ifa_addr. ok claudio@
* When system calls indicate an error they return -1, not some arbitraryderaadt2019-06-281-65/+65
| | | | | | value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
* PF_ROUTE -> AF_ROUTE in the scattered sock()/setsockopt() callskrw2019-01-221-4/+4
| | | | | | where the "wrong" #define was used. ok dlg@
* Remove dead get_host_seed() function; Martin Natanomiod2015-09-121-10/+1
|
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-271-9/+1
| | | | | | | unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
* SIOCAIFADDR can fail with EEXIST either if the local or the destinationclaudio2008-10-081-4/+7
| | | | | address already exists so mention both addresses in the error message. From PR4584 (alexander at beard dot se) I just tuned the error message a bit.
* bye bye ipxhenning2007-06-041-103/+2
|
* Better message if interface is not available. Hint from Daniel Polak.otto2004-05-261-6/+4
| | | | ok henning@ jmc@
* rewrite SIOCGIFCONF into getifaddrs. deraadt okitojun2003-08-191-52/+31
|
* move ETHERTYPE_xx declarations to <net/ethertypes.h>. meets netbsd practice.itojun2003-05-141-4/+4
| | | | deraadt ok
* strlcpy and snprintf; various people okderaadt2003-04-041-6/+4
|
* Paul Mackerras and the Australian National University have worked thingsderaadt2002-09-131-16/+31
| | | | | out, and as a result, Paul now owns copyright on all these files, with the proper terms.
* license update of CMU parts. due to communication with wcw+@andrew.cmu.edu,deraadt2002-07-011-3/+40
| | | | | | pushed for by tygs@netcologne.de. Apparently we also now known how to talk to the lawyers there, if we were so mad. Note that a few other copyright issues in pppd still remain, so this does not close this story.
* pid_t cleanupderaadt2002-05-261-8/+9
|
* Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert2002-02-161-4/+4
|
* use strlcpy vs strncpy+a[len-1]='\0'lebel2001-06-231-26/+14
|
* pppd 2.3.5millert1998-05-081-4/+21
|
* Aliases...angelos1998-03-201-2/+4
|
* ppp-2.3.3 + some -Wallmillert1998-01-171-5/+4
|
* do not let fd_set overflowderaadt1997-12-171-10/+24
|
* Fix setting of crtscts. It was not being set in set_up_tty() if themillert1997-11-301-3/+3
| | | | | local var "local" is set. This is a problem since that is set during chat. Use the "modem" var instead.
* Allow pppd to change interface addr when demand dialing & dynamic addressing.millert1997-09-281-2/+10
| | | | Fix from Dave Huang <khym@bga.com> based on what ifconfig does.
* ppp 2.3.1millert1997-09-051-28/+69
|
* long nightmaresderaadt1997-06-271-3/+3
|
* better failure msg; martin@rumolt.teuto.dederaadt1997-04-271-4/+5
|
* pppd 2.3b3 import. some minor buf oflow fixes and so.mickey1996-12-231-60/+109
| | | | | try it out ppl, but i've got it running talking to cisco w/ all the AFs enabled in kernel.
* netbsd pr#2623: fix VJ compression and active filter, John Kohldownsj1996-07-141-3/+13
| | | | <jtk@kolvir.arlington.ma.us>
* sync to netbsd 960418deraadt1996-04-211-3/+8
|
* From NetBSD: merge of 960317niklas1996-03-251-130/+460
|
* initial import of NetBSD treederaadt1995-10-181-0/+1135