diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-09-08 06:45:43 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-09-08 06:45:43 +0000 |
commit | db09424d436bd5ee86fb47685ff83c2d8f70c0cd (patch) | |
tree | 0e0f2876462c2c5a3b2a85d5cf0fd292bb3552a4 /cpukit/pppd/auth.c | |
parent | 2008-09-07 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-db09424d436bd5ee86fb47685ff83c2d8f70c0cd.tar.bz2 |
Add missing initializers.
Diffstat (limited to 'cpukit/pppd/auth.c')
-rw-r--r-- | cpukit/pppd/auth.c | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/cpukit/pppd/auth.c b/cpukit/pppd/auth.c index ecafe4330f..a419af8ab6 100644 --- a/cpukit/pppd/auth.c +++ b/cpukit/pppd/auth.c @@ -181,46 +181,46 @@ static void set_allowed_addrs(int, struct wordlist *, struct wordlist *); */ option_t auth_options[] = { { "require-pap", o_bool, &lcp_wantoptions[0].neg_upap, - "Require PAP authentication from peer", 1, &auth_required }, + "Require PAP authentication from peer", 1, &auth_required, 0, 0 }, { "+pap", o_bool, &lcp_wantoptions[0].neg_upap, - "Require PAP authentication from peer", 1, &auth_required }, + "Require PAP authentication from peer", 1, &auth_required, 0, 0 }, { "refuse-pap", o_bool, &refuse_pap, - "Don't agree to auth to peer with PAP", 1 }, + "Don't agree to auth to peer with PAP", 1, NULL, 0, 0 }, { "-pap", o_bool, &refuse_pap, - "Don't allow PAP authentication with peer", 1 }, + "Don't allow PAP authentication with peer", 1, NULL, 0, 0 }, { "require-chap", o_bool, &lcp_wantoptions[0].neg_chap, - "Require CHAP authentication from peer", 1, &auth_required }, + "Require CHAP authentication from peer", 1, &auth_required, 0, 0 }, { "+chap", o_bool, &lcp_wantoptions[0].neg_chap, - "Require CHAP authentication from peer", 1, &auth_required }, + "Require CHAP authentication from peer", 1, &auth_required, 0, 0 }, { "refuse-chap", o_bool, &refuse_chap, - "Don't agree to auth to peer with CHAP", 1 }, + "Don't agree to auth to peer with CHAP", 1, NULL, 0, 0 }, { "-chap", o_bool, &refuse_chap, - "Don't allow CHAP authentication with peer", 1 }, + "Don't allow CHAP authentication with peer", 1, NULL, 0, 0 }, { "name", o_string, our_name, "Set local name for authentication", - OPT_PRIV|OPT_STATIC, NULL, MAXNAMELEN }, + OPT_PRIV|OPT_STATIC, NULL, MAXNAMELEN, 0 }, { "user", o_string, user, - "Set name for auth with peer", OPT_STATIC, NULL, MAXNAMELEN }, + "Set name for auth with peer", OPT_STATIC, NULL, MAXNAMELEN, 0 }, { "usehostname", o_bool, &usehostname, - "Must use hostname for authentication", 1 }, + "Must use hostname for authentication", 1, NULL, 0, 0 }, { "remotename", o_string, remote_name, "Set remote name for authentication", OPT_STATIC, - &explicit_remote, MAXNAMELEN }, + &explicit_remote, MAXNAMELEN, 0 }, { "auth", o_bool, &auth_required, - "Require authentication from peer", 1 }, + "Require authentication from peer", 1, NULL, 0, 0 }, { "noauth", o_bool, &auth_required, - "Don't require peer to authenticate", OPT_PRIV, &allow_any_ip }, + "Don't require peer to authenticate", OPT_PRIV, &allow_any_ip, 0, 0 }, { "login", o_bool, &uselogin, - "Use system password database for PAP", 1 }, + "Use system password database for PAP", 1, NULL, 0, 0 }, { "papcrypt", o_bool, &cryptpap, - "PAP passwords are encrypted", 1 }, + "PAP passwords are encrypted", 1, NULL, 0, 0 }, /* Removed for RTEMS PORT { "+ua", o_special, setupapfile, "Get PAP user and password from file" }, */ { "password", o_string, passwd, "Password for authenticating us to the peer", OPT_STATIC, - NULL, MAXSECRETLEN }, + NULL, MAXSECRETLEN, 0 }, /* Removed for RTEMS_PORT { "privgroup", o_special, privgroup, "Allow group members to use privileged options", OPT_PRIV }, @@ -228,7 +228,7 @@ option_t auth_options[] = { "Set IP address(es) which can be used without authentication", OPT_PRIV }, */ - { NULL } + { NULL, 0, NULL, NULL, 0, NULL, 0, 0 } }; /* |