Deleted Added
full compact
pppoed.c (90160) pppoed.c (90779)
1/*-
2 * Copyright (c) 1999-2001 Brian Somers <brian@Awfulhak.org>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
1/*-
2 * Copyright (c) 1999-2001 Brian Somers <brian@Awfulhak.org>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
26 * $FreeBSD: head/libexec/pppoed/pppoed.c 90160 2002-02-04 01:34:52Z kris $
26 * $FreeBSD: head/libexec/pppoed/pppoed.c 90779 2002-02-17 19:09:20Z imp $
27 */
28
29#include <sys/param.h>
30#include <sys/socket.h>
31#include <sys/un.h>
32#include <netinet/in.h>
33#include <arpa/inet.h>
34#include <netdb.h>

--- 442 unchanged lines hidden (view full) ---

477 va_list ap;
478
479 va_start(ap, fmt);
480 vsyslog(LOG_INFO, fmt, ap);
481 va_end(ap);
482}
483
484int
27 */
28
29#include <sys/param.h>
30#include <sys/socket.h>
31#include <sys/un.h>
32#include <netinet/in.h>
33#include <arpa/inet.h>
34#include <netdb.h>

--- 442 unchanged lines hidden (view full) ---

477 va_list ap;
478
479 va_start(ap, fmt);
480 vsyslog(LOG_INFO, fmt, ap);
481 va_end(ap);
482}
483
484int
485main(int argc, char **argv)
485main(int argc, char *argv[])
486{
487 char hostname[MAXHOSTNAMELEN], *exec, rhook[NG_HOOKLEN + 1];
488 unsigned char response[1024];
489 const char *label, *prog, *provider, *acname;
490 struct ngm_connect ngc;
491 struct sigaction act;
492 int ch, cs, ds, ret, optF, optd, optn, sz, f;
493 const char *pidfile;

--- 186 unchanged lines hidden ---
486{
487 char hostname[MAXHOSTNAMELEN], *exec, rhook[NG_HOOKLEN + 1];
488 unsigned char response[1024];
489 const char *label, *prog, *provider, *acname;
490 struct ngm_connect ngc;
491 struct sigaction act;
492 int ch, cs, ds, ret, optF, optd, optn, sz, f;
493 const char *pidfile;

--- 186 unchanged lines hidden ---