Deleted Added
full compact
tcpip.c (8576) tcpip.c (8589)
1/*
1/*
2 * $Id: tcpip.c,v 1.4 1995/05/17 12:09:11 gpalmer Exp $
2 * $Id: tcpip.c,v 1.5 1995/05/17 14:39:58 jkh Exp $
3 *
4 * Copyright (c) 1995
5 * Gary J Palmer. All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions
9 * are met:
10 * 1. Redistributions of source code must retain the above copyright

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

108#define LAYOUT_NAMESERVER 3
109{ 9, 2, 9, 6,
110 "Interface:",
111 "Network devices found on boot (use <TAB> to exit from here)",
112 iface, LISTOBJ, NULL },
113#define LAYOUT_IFACE 4
114{ 10, 18, 18, 15,
115 "IP Address:",
3 *
4 * Copyright (c) 1995
5 * Gary J Palmer. All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions
9 * are met:
10 * 1. Redistributions of source code must retain the above copyright

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

108#define LAYOUT_NAMESERVER 3
109{ 9, 2, 9, 6,
110 "Interface:",
111 "Network devices found on boot (use <TAB> to exit from here)",
112 iface, LISTOBJ, NULL },
113#define LAYOUT_IFACE 4
114{ 10, 18, 18, 15,
115 "IP Address:",
116 "The IP address to be used for your host - use 127.0.0.1 for loopback",
116 "The IP address to be used for this interface - use 127.0.0.1 for lo0",
117 ipaddr, STRINGOBJ, NULL },
118#define LAYOUT_IPADDR 5
119{ 10, 37, 18, 15,
120 "Netmask:",
117 ipaddr, STRINGOBJ, NULL },
118#define LAYOUT_IPADDR 5
119{ 10, 37, 18, 15,
120 "Netmask:",
121 "The netmask for your network, e.g. 0xffffff00 for a class C network",
121 "The netmask for this interfaace, e.g. 0xffffff00 for a class C network",
122 netmask, STRINGOBJ, NULL },
123#define LAYOUT_NETMASK 6
124{ 14, 18, 37, 255,
125 "Extra options to ifconfig:",
122 netmask, STRINGOBJ, NULL },
123#define LAYOUT_NETMASK 6
124{ 14, 18, 37, 255,
125 "Extra options to ifconfig:",
126 "Any options to ifconfig you'd like to specify manually",
126 "Any interface-specific options to ifconfig you'd like to use",
127 extras, STRINGOBJ, NULL },
128#define LAYOUT_EXTRAS 7
129{ 19, 10, 0, 0,
130 "OK", "Select this if you are happy with these settings",
131 &okbutton, BUTTONOBJ, NULL },
132#define LAYOUT_OKBUTTON 8
133{ 19, 30, 0, 0,
134 "CANCEL", "Select this if you wish to cancel this screen",

--- 438 unchanged lines hidden ---
127 extras, STRINGOBJ, NULL },
128#define LAYOUT_EXTRAS 7
129{ 19, 10, 0, 0,
130 "OK", "Select this if you are happy with these settings",
131 &okbutton, BUTTONOBJ, NULL },
132#define LAYOUT_OKBUTTON 8
133{ 19, 30, 0, 0,
134 "CANCEL", "Select this if you wish to cancel this screen",

--- 438 unchanged lines hidden ---