X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Foptions.c;h=ffd9015b2813b622315761a7a2545be8326fb323;hb=80b8744eb42c7493794f3e3fe0bf1ce14f53e6dd;hp=d4906c9506239101c4556a3239817aab0d7a2006;hpb=a6622771e2dc03a2682c86c4bcf6bf6ae9e85df7;p=ppp.git diff --git a/pppd/options.c b/pppd/options.c index d4906c9..ffd9015 100644 --- a/pppd/options.c +++ b/pppd/options.c @@ -131,7 +131,7 @@ int child_wait = 5; /* # seconds to wait for children at exit */ struct userenv *userenv_list; /* user environment variables */ int dfl_route_metric = -1; /* metric of the default route to set over the PPP link */ -#ifdef INET6 +#ifdef PPP_WITH_IPV6CP char path_ipv6up[MAXPATHLEN]; /* pathname of ipv6-up script */ char path_ipv6down[MAXPATHLEN]; /* pathname of ipv6-down script */ #endif @@ -335,7 +335,7 @@ option_t general_options[] = { "Set pathname of ip-down script", OPT_PRIV|OPT_STATIC, NULL, MAXPATHLEN }, -#ifdef INET6 +#ifdef PPP_WITH_IPV6CP { "ipv6-up-script", o_string, path_ipv6up, "Set pathname of ipv6-up script", OPT_PRIV|OPT_STATIC, NULL, MAXPATHLEN },