History log of /freebsd/usr.sbin/pppctl/pppctl.c (Results 1 – 25 of 69)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 4d65a7c6 24-Nov-2023 Warner Losh <imp@FreeBSD.org>

usr.sbin: Automated cleanup of cdefs and other formatting

Apply the following automated changes to try to eliminate
no-longer-needed sys/cdefs.h includes as well as now-empty
blank lines in a row.

usr.sbin: Automated cleanup of cdefs and other formatting

Apply the following automated changes to try to eliminate
no-longer-needed sys/cdefs.h includes as well as now-empty
blank lines in a row.

Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/
Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/
Remove /\n+#if.*\n#endif.*\n+/
Remove /^#if.*\n#endif.*\n/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/

Sponsored by: Netflix

show more ...


Revision tags: release/14.0.0
# 1d386b48 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line .c pattern

Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/


# 4d846d26 10-May-2023 Warner Losh <imp@FreeBSD.org>

spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD

The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch
up to that fact and revert to their recommended match of

spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD

The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch
up to that fact and revert to their recommended match of BSD-2-Clause.

Discussed with: pfg
MFC After: 3 days
Sponsored by: Netflix

show more ...


Revision tags: release/13.2.0, release/12.4.0, release/13.1.0, release/12.3.0, release/13.0.0, release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0, release/12.0.0, release/11.2.0
# d282086d 29-Jan-2018 Pedro F. Giffuni <pfg@FreeBSD.org>

pppctl88) Avoid strcpy() copies on overlapping string.

This may lead to unpredicatable behaviour on different platforms or C
library implementations. Use an intermediate variable.

Obtained from: Dr

pppctl88) Avoid strcpy() copies on overlapping string.

This may lead to unpredicatable behaviour on different platforms or C
library implementations. Use an intermediate variable.

Obtained from: DragonFlyBSD (git a861a526)

show more ...


# 1de7b4b8 27-Nov-2017 Pedro F. Giffuni <pfg@FreeBSD.org>

various: general adoption of SPDX licensing ID tags.

Mainly focus on files that use BSD 2-Clause license, however the tool I
was using misidentified many licenses so this was mostly a manual - error

various: general adoption of SPDX licensing ID tags.

Mainly focus on files that use BSD 2-Clause license, however the tool I
was using misidentified many licenses so this was mostly a manual - error
prone - task.

The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.

No functional change intended.

show more ...


Revision tags: release/10.4.0, release/11.1.0, release/11.0.1, release/11.0.0, release/10.3.0, release/10.2.0, release/10.1.0, release/9.3.0, release/10.0.0, release/9.2.0, release/8.4.0, release/9.1.0, release/8.3.0_cvs, release/8.3.0, release/9.0.0, release/7.4.0_cvs, release/8.2.0_cvs, release/7.4.0, release/8.2.0, release/8.1.0_cvs, release/8.1.0, release/7.3.0_cvs, release/7.3.0, release/8.0.0_cvs, release/8.0.0, release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0, release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0, release/6.2.0_cvs, release/6.2.0, release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0, release/6.0.0_cvs, release/6.0.0, release/5.4.0_cvs, release/5.4.0, release/4.11.0_cvs, release/4.11.0
# cf4bdb6e 13-Dec-2004 Brian Somers <brian@FreeBSD.org>

Handle select() returning -1/EINTR - fairly common in these KSE days.

PR: 74972
MFC after: 3 days


Revision tags: release/5.3.0_cvs, release/5.3.0, release/4.10.0_cvs, release/4.10.0, release/5.2.1_cvs, release/5.2.1, release/5.2.0_cvs, release/5.2.0
# 8b455488 07-Dec-2003 Tim J. Robbins <tjr@FreeBSD.org>

Add IPv6 support to pppctl by using getaddrinfo() and trying each address
it returns. This allows it to connect to the server side again, which
has been listening on IPv6 addresses exclusively for mo

Add IPv6 support to pppctl by using getaddrinfo() and trying each address
it returns. This allows it to connect to the server side again, which
has been listening on IPv6 addresses exclusively for more than 2 years.

PR: 59369

show more ...


Revision tags: release/4.9.0_cvs, release/4.9.0
# 54ede02d 06-Jul-2003 Philippe Charnier <charnier@FreeBSD.org>

add FBSDID


Revision tags: release/5.1.0_cvs, release/5.1.0, release/4.8.0_cvs, release/4.8.0, release/5.0.0_cvs, release/5.0.0, release/4.7.0_cvs, release/4.6.2_cvs, release/4.6.2, release/4.6.1, release/4.6.0_cvs, release/4.5.0_cvs, release/4.4.0_cvs
# 757eeda0 01-Oct-2001 David E. O'Brien <obrien@FreeBSD.org>

*** empty log message ***


# ad96855d 19-Aug-2001 Brian Somers <brian@FreeBSD.org>

Better handling of the return from snprintf


# e1b4d8d0 26-Jul-2001 Sheldon Hearn <sheldonh@FreeBSD.org>

Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. The
definitions are more readable, and it's possible that they're
more portable to pathalogical platforms.

Submitted by: David Hill <da

Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. The
definitions are more readable, and it's possible that they're
more portable to pathalogical platforms.

Submitted by: David Hill <david@phobia.ms>

show more ...


Revision tags: release/4.3.0_cvs, release/4.3.0
# 2da5df67 25-Mar-2001 Brian Somers <brian@FreeBSD.org>

Issue a ``quit'' after other ppp commands given on the command line and
then wait for the connection to be closed by the peer.

This means that commands such as ``pppctl ... show links'' will
display

Issue a ``quit'' after other ppp commands given on the command line and
then wait for the connection to be closed by the peer.

This means that commands such as ``pppctl ... show links'' will
display the correct output again (rather than truncating it depending
on how much data arrived in the last packet).

show more ...


# af5b1096 05-Mar-2001 Brian Somers <brian@FreeBSD.org>

A NetBSD specific fix
Kind-of obtained from: NetBSD


# 8a407aad 27-Nov-2000 Brian Somers <brian@FreeBSD.org>

Change interactive mode so that a monitor thread keeps an eye on the
ppp descriptor and signals the terminal thread when there's something
to read on that descriptor.

This means that the main loop d

Change interactive mode so that a monitor thread keeps an eye on the
ppp descriptor and signals the terminal thread when there's something
to read on that descriptor.

This means that the main loop doesn't have to alarm() itself into
dropping out of el_gets() frequently to check the descriptor. This
dropping out was disturbing syscons (via ioctl()s from libedit) enough
to reset the screensaver timeout every .5 of a second.

PR: 20345

show more ...


Revision tags: release/4.2.0, release/4.1.1_cvs
# ea327426 02-Sep-2000 Brian Somers <brian@FreeBSD.org>

libutil is no longer required as setproctitle() has moved to libc


# 087a20b8 16-Aug-2000 Brian Somers <brian@FreeBSD.org>

If the -p option is used, use setproctitle() to hide it's argument
(a password) asap.


Revision tags: release/4.1.0, release/3.5.0_cvs, release/4.0.0_cvs, release/3.4.0_cvs
# e83358b4 20-Sep-1999 Brian Somers <brian@FreeBSD.org>

NetBSD has changed the el_init() prototype

Submitted by: Kazuyoshi Kato <kazk@yyy.or.jp>


Revision tags: release/3.3.0_cvs
# 97d92980 28-Aug-1999 Peter Wemm <peter@FreeBSD.org>

$Id$ -> $FreeBSD$


# e1e9e152 02-Aug-1999 Brian Somers <brian@FreeBSD.org>

Use err[x]/warn[x] and improve error reporting
Submitted by: charnier


Revision tags: release/3.2.0
# b941043f 26-Apr-1999 Brian Somers <brian@FreeBSD.org>

Add support for NetBSD (history() from libedit is different).


Revision tags: release/3.1.0
# ea567911 31-Jan-1999 Brian Somers <brian@FreeBSD.org>

Mention the error when we fail to connect().


Revision tags: release/3.0.0, release/2.2.8, release/2.2.7, release/2.2.6
# 23e877a8 22-Mar-1998 Brian Somers <brian@FreeBSD.org>

Quiet -Wall in gcc-2.8.1
Obtained from: OpenBSD


# fcabffd8 27-Dec-1997 Brian Somers <brian@FreeBSD.org>

Remove bogus timeout code in Receive().
Don't read(fd, buffer, 0) and think ppp has closed the
connection when `buffer' is full, instead, flush most of
buffer to the terminal and read() for a reasona

Remove bogus timeout code in Receive().
Don't read(fd, buffer, 0) and think ppp has closed the
connection when `buffer' is full, instead, flush most of
buffer to the terminal and read() for a reasonable length.
This fixes "show route" when there's more than 2k of
routing output.

show more ...


# c39934ea 21-Dec-1997 Brian Somers <brian@FreeBSD.org>

Add (BSD) copyright headers.


# 2e14bb46 21-Dec-1997 Brian Somers <brian@FreeBSD.org>

Zero struct sockaddr_??s before filling them in.
Suggested by: Theo de Raadt <deraadt@cvs.openbsd.org>


123