summaryrefslogtreecommitdiffstats
path: root/cpukit/pppd/ipcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/pppd/ipcp.c')
-rw-r--r--cpukit/pppd/ipcp.c54
1 files changed, 29 insertions, 25 deletions
diff --git a/cpukit/pppd/ipcp.c b/cpukit/pppd/ipcp.c
index 68d2297370..1ace9cf311 100644
--- a/cpukit/pppd/ipcp.c
+++ b/cpukit/pppd/ipcp.c
@@ -105,60 +105,64 @@ static int setwinsaddr(char **);
static option_t ipcp_option_list[] = {
{ "noip", o_bool, &ipcp_protent.enabled_flag,
- "Disable IP and IPCP" },
+ "Disable IP and IPCP", 0, NULL, 0, 0 },
{ "-ip", o_bool, &ipcp_protent.enabled_flag,
- "Disable IP and IPCP" },
+ "Disable IP and IPCP", 0, NULL, 0, 0 },
{ "novj", o_bool, &ipcp_wantoptions[0].neg_vj,
- "Disable VJ compression", OPT_A2COPY, &ipcp_allowoptions[0].neg_vj },
+ "Disable VJ compression", OPT_A2COPY,
+ &ipcp_allowoptions[0].neg_vj, 0, 0 },
{ "-vj", o_bool, &ipcp_wantoptions[0].neg_vj,
- "Disable VJ compression", OPT_A2COPY, &ipcp_allowoptions[0].neg_vj },
+ "Disable VJ compression", OPT_A2COPY,
+ &ipcp_allowoptions[0].neg_vj, 0, 0 },
{ "novjccomp", o_bool, &ipcp_wantoptions[0].cflag,
"Disable VJ connection-ID compression", OPT_A2COPY,
- &ipcp_allowoptions[0].cflag },
+ &ipcp_allowoptions[0].cflag, 0, 0 },
{ "-vjccomp", o_bool, &ipcp_wantoptions[0].cflag,
"Disable VJ connection-ID compression", OPT_A2COPY,
- &ipcp_allowoptions[0].cflag },
+ &ipcp_allowoptions[0].cflag, 0, 0 },
{ "vj-max-slots", 1, setvjslots,
- "Set maximum VJ header slots" },
+ "Set maximum VJ header slots", 0, NULL, 0, 0 },
{ "ipcp-accept-local", o_bool, &ipcp_wantoptions[0].accept_local,
- "Accept peer's address for us", 1 },
+ "Accept peer's address for us", 1, NULL, 0, 0 },
{ "ipcp-accept-remote", o_bool, &ipcp_wantoptions[0].accept_remote,
- "Accept peer's address for it", 1 },
+ "Accept peer's address for it", 1, NULL, 0, 0 },
{ "ipparam", o_string, &ipparam,
- "Set ip script parameter" },
+ "Set ip script parameter", 0, NULL, 0, 0 },
{ "noipdefault", o_bool, &disable_defaultip,
- "Don't use name for default IP adrs", 1 },
+ "Don't use name for default IP adrs", 1, NULL, 0, 0 },
{ "ms-dns", 1, setdnsaddr,
- "DNS address for the peer's use" },
+ "DNS address for the peer's use", 0, NULL, 0, 0 },
{ "ms-wins", 1, setwinsaddr,
- "Nameserver for SMB over TCP/IP for peer" },
+ "Nameserver for SMB over TCP/IP for peer", 0, NULL, 0, 0 },
{ "ipcp-restart", o_int, &ipcp_fsm[0].timeouttime,
- "Set timeout for IPCP" },
+ "Set timeout for IPCP", 0, NULL, 0, 0 },
{ "ipcp-max-terminate", o_int, &ipcp_fsm[0].maxtermtransmits,
- "Set max #xmits for term-reqs" },
+ "Set max #xmits for term-reqs", 0, NULL, 0, 0 },
{ "ipcp-max-configure", o_int, &ipcp_fsm[0].maxconfreqtransmits,
- "Set max #xmits for conf-reqs" },
+ "Set max #xmits for conf-reqs", 0, NULL, 0, 0 },
{ "ipcp-max-failure", o_int, &ipcp_fsm[0].maxnakloops,
- "Set max #conf-naks for IPCP" },
+ "Set max #conf-naks for IPCP", 0, NULL, 0, 0 },
{ "defaultroute", o_bool, &ipcp_wantoptions[0].default_route,
- "Add default route", OPT_ENABLE|1, &ipcp_allowoptions[0].default_route },
+ "Add default route", OPT_ENABLE|1,
+ &ipcp_allowoptions[0].default_route, 0, 0 },
{ "nodefaultroute", o_bool, &ipcp_allowoptions[0].default_route,
"disable defaultroute option", OPT_A2COPY,
- &ipcp_wantoptions[0].default_route },
+ &ipcp_wantoptions[0].default_route, 0, 0 },
{ "-defaultroute", o_bool, &ipcp_allowoptions[0].default_route,
"disable defaultroute option", OPT_A2COPY,
- &ipcp_wantoptions[0].default_route },
+ &ipcp_wantoptions[0].default_route, 0, 0 },
{ "proxyarp", o_bool, &ipcp_wantoptions[0].proxy_arp,
- "Add proxy ARP entry", OPT_ENABLE|1, &ipcp_allowoptions[0].proxy_arp },
+ "Add proxy ARP entry", OPT_ENABLE|1,
+ &ipcp_allowoptions[0].proxy_arp, 0, 0 },
{ "noproxyarp", o_bool, &ipcp_allowoptions[0].proxy_arp,
"disable proxyarp option", OPT_A2COPY,
- &ipcp_wantoptions[0].proxy_arp },
+ &ipcp_wantoptions[0].proxy_arp, 0, 0 },
{ "-proxyarp", o_bool, &ipcp_allowoptions[0].proxy_arp,
"disable proxyarp option", OPT_A2COPY,
- &ipcp_wantoptions[0].proxy_arp },
+ &ipcp_wantoptions[0].proxy_arp, 0, 0 },
{ "usepeerdns", o_bool, &usepeerdns,
- "Ask peer for DNS address(es)", 1 },
- { NULL }
+ "Ask peer for DNS address(es)", 1, NULL, 0, 0 },
+ { NULL, 0, NULL, NULL, 0, NULL, 0, 0 }
};
/*