Deleted Added
full compact
main.c (43526) main.c (43693)
1/*
2 * User Process PPP
3 *
4 * Written by Toshiharu OHNO (tony-o@iij.ad.jp)
5 *
6 * Copyright (C) 1993, Internet Initiative Japan, Inc. All rights reserverd.
7 *
8 * Redistribution and use in source and binary forms are permitted
9 * provided that the above copyright notice and this paragraph are
10 * duplicated in all such forms and that any documentation,
11 * advertising materials, and other materials related to such
12 * distribution and use acknowledge that the software was developed
13 * by the Internet Initiative Japan, Inc. The name of the
14 * IIJ may not be used to endorse or promote products derived
15 * from this software without specific prior written permission.
16 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
17 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
18 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
19 *
1/*
2 * User Process PPP
3 *
4 * Written by Toshiharu OHNO (tony-o@iij.ad.jp)
5 *
6 * Copyright (C) 1993, Internet Initiative Japan, Inc. All rights reserverd.
7 *
8 * Redistribution and use in source and binary forms are permitted
9 * provided that the above copyright notice and this paragraph are
10 * duplicated in all such forms and that any documentation,
11 * advertising materials, and other materials related to such
12 * distribution and use acknowledge that the software was developed
13 * by the Internet Initiative Japan, Inc. The name of the
14 * IIJ may not be used to endorse or promote products derived
15 * from this software without specific prior written permission.
16 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
17 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
18 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
19 *
20 * $Id: main.c,v 1.148 1999/01/28 01:56:33 brian Exp $
20 * $Id: main.c,v 1.149 1999/02/02 09:35:29 brian Exp $
21 *
22 * TODO:
23 */
24
25#include <sys/param.h>
26#include <netinet/in.h>
27#include <netinet/in_systm.h>
28#include <netinet/ip.h>

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

511 break;
512 }
513 }
514 }
515 }
516 break;
517 }
518
21 *
22 * TODO:
23 */
24
25#include <sys/param.h>
26#include <netinet/in.h>
27#include <netinet/in_systm.h>
28#include <netinet/ip.h>

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

511 break;
512 }
513 }
514 }
515 }
516 break;
517 }
518
519 log_Printf(LogTIMER, "Select returns %d\n", i);
520
519 sig_Handle();
520
521 if (i <= 0)
522 continue;
523
524 for (i = 0; i <= nfds; i++)
525 if (FD_ISSET(i, &efds)) {
526 log_Printf(LogPHASE, "Exception detected on descriptor %d\n", i);

--- 41 unchanged lines hidden ---
521 sig_Handle();
522
523 if (i <= 0)
524 continue;
525
526 for (i = 0; i <= nfds; i++)
527 if (FD_ISSET(i, &efds)) {
528 log_Printf(LogPHASE, "Exception detected on descriptor %d\n", i);

--- 41 unchanged lines hidden ---