summaryrefslogtreecommitdiffstats
path: root/cpukit/pppd/upap.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2008-09-08 06:45:43 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2008-09-08 06:45:43 +0000
commitdb09424d436bd5ee86fb47685ff83c2d8f70c0cd (patch)
tree0e0f2876462c2c5a3b2a85d5cf0fd292bb3552a4 /cpukit/pppd/upap.c
parent2008-09-07 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-db09424d436bd5ee86fb47685ff83c2d8f70c0cd.tar.bz2
Add missing initializers.
Diffstat (limited to '')
-rw-r--r--cpukit/pppd/upap.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/cpukit/pppd/upap.c b/cpukit/pppd/upap.c
index ed7cff13db..527d05a868 100644
--- a/cpukit/pppd/upap.c
+++ b/cpukit/pppd/upap.c
@@ -31,23 +31,23 @@
static const char rcsid[] = RCSID;
-static bool hide_password = 1;
+static bool hide_password = true;
/*
* Command-line options.
*/
static option_t pap_option_list[] = {
{ "hide-password", o_bool, &hide_password,
- "Don't output passwords to log", 1 },
+ "Don't output passwords to log", 1, NULL, 0, 0 },
{ "show-password", o_bool, &hide_password,
- "Show password string in debug log messages", 0 },
+ "Show password string in debug log messages", 0, NULL, 0, 0 },
{ "pap-restart", o_int, &upap[0].us_timeouttime,
- "Set retransmit timeout for PAP" },
+ "Set retransmit timeout for PAP", 0, NULL, 0, 0 },
{ "pap-max-authreq", o_int, &upap[0].us_maxtransmits,
- "Set max number of transmissions for auth-reqs" },
+ "Set max number of transmissions for auth-reqs", 0, NULL, 0, 0 },
{ "pap-timeout", o_int, &upap[0].us_reqtimeout,
- "Set time limit for peer PAP authentication" },
- { NULL }
+ "Set time limit for peer PAP authentication", 0, NULL, 0, 0 },
+ { NULL, 0, NULL, NULL, 0, NULL, 0, 0 }
};
/*