Deleted Added
full compact
defs.c (51517) defs.c (53830)
1/*-
2 * Copyright (c) 1997 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) 1997 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/usr.sbin/ppp/defs.c 51517 1999-09-21 19:37:00Z brian $
26 * $FreeBSD: head/usr.sbin/ppp/defs.c 53830 1999-11-28 15:50:08Z brian $
27 */
28
29
30#include <sys/types.h>
31#include <netdb.h>
32#include <netinet/in.h>
33#include <arpa/inet.h>
34#include <sys/socket.h>

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

85 const char *name;
86} modes[] = {
87 { PHYS_INTERACTIVE, "interactive" },
88 { PHYS_AUTO, "auto" },
89 { PHYS_DIRECT, "direct" },
90 { PHYS_DEDICATED, "dedicated" },
91 { PHYS_DDIAL, "ddial" },
92 { PHYS_BACKGROUND, "background" },
27 */
28
29
30#include <sys/types.h>
31#include <netdb.h>
32#include <netinet/in.h>
33#include <arpa/inet.h>
34#include <sys/socket.h>

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

85 const char *name;
86} modes[] = {
87 { PHYS_INTERACTIVE, "interactive" },
88 { PHYS_AUTO, "auto" },
89 { PHYS_DIRECT, "direct" },
90 { PHYS_DEDICATED, "dedicated" },
91 { PHYS_DDIAL, "ddial" },
92 { PHYS_BACKGROUND, "background" },
93 { PHYS_FOREGROUND, "foreground" },
93 { PHYS_ALL, "*" },
94 { 0, 0 }
95};
96
97const char *
98mode2Nam(int mode)
99{
100 int m;

--- 219 unchanged lines hidden ---
94 { PHYS_ALL, "*" },
95 { 0, 0 }
96};
97
98const char *
99mode2Nam(int mode)
100{
101 int m;

--- 219 unchanged lines hidden ---