pppd: fix parsing the ipv6-{up,down}-script option

SVN-Revision: 31514
This commit is contained in:
Felix Fietkau 2012-04-29 10:08:33 +00:00
parent 417185b33c
commit 873cdb190c

View File

@ -24,10 +24,10 @@
"Set pathname of ip-down script", "Set pathname of ip-down script",
OPT_PRIV|OPT_STATIC, NULL, MAXPATHLEN }, OPT_PRIV|OPT_STATIC, NULL, MAXPATHLEN },
+ { "ipv6-up-script", o_string, path_ipup, + { "ipv6-up-script", o_string, path_ipv6up,
+ "Set pathname of ipv6-up script", + "Set pathname of ipv6-up script",
+ OPT_PRIV|OPT_STATIC, NULL, MAXPATHLEN }, + OPT_PRIV|OPT_STATIC, NULL, MAXPATHLEN },
+ { "ipv6-down-script", o_string, path_ipdown, + { "ipv6-down-script", o_string, path_ipv6down,
+ "Set pathname of ipv6-down script", + "Set pathname of ipv6-down script",
+ OPT_PRIV|OPT_STATIC, NULL, MAXPATHLEN }, + OPT_PRIV|OPT_STATIC, NULL, MAXPATHLEN },
+ +