struct protent *protp;
char numbuf[16];
+ strlcpy(path_upapfile, PPP_PATH_UPAPFILE, MAXPATHLEN);
+ strlcpy(path_chapfile, PPP_PATH_CHAPFILE, MAXPATHLEN);
+
+ strlcpy(path_net_init, PPP_PATH_NET_INIT, MAXPATHLEN);
+ strlcpy(path_net_preup, PPP_PATH_NET_PREUP, MAXPATHLEN);
+ strlcpy(path_net_down, PPP_PATH_NET_DOWN, MAXPATHLEN);
+
strlcpy(path_ipup, PPP_PATH_IPUP, MAXPATHLEN);
strlcpy(path_ipdown, PPP_PATH_IPDOWN, MAXPATHLEN);
+ strlcpy(path_ippreup, PPP_PATH_IPPREUP, MAXPATHLEN);
#ifdef PPP_WITH_IPV6CP
strlcpy(path_ipv6up, PPP_PATH_IPV6UP, MAXPATHLEN);
bool tune_kernel; /* may alter kernel settings */
int connect_delay = 1000; /* wait this many ms after connect script */
int req_unit = -1; /* requested interface unit */
+ char path_net_init[MAXPATHLEN]; /* pathname of net-init script */
+ char path_net_preup[MAXPATHLEN];/* pathname of net-pre-up script */
+ char path_net_down[MAXPATHLEN]; /* pathname of net-down script */
char path_ipup[MAXPATHLEN]; /* pathname of ip-up script */
char path_ipdown[MAXPATHLEN];/* pathname of ip-down script */
+char path_ippreup[MAXPATHLEN]; /* pathname of ip-pre-up script */
char req_ifname[IFNAMSIZ]; /* requested interface name */
bool multilink = 0; /* Enable multilink operation */
char *bundle_name = NULL; /* bundle name for multilink */
extern int connect_delay; /* Time to delay after connect script */
extern int max_data_rate; /* max bytes/sec through charshunt */
extern int req_unit; /* interface unit number to use */
+ extern char path_net_init[]; /* pathname of net-init script */
+ extern char path_net_preup[];/* pathname of net-pre-up script */
+ extern char path_net_down[]; /* pathname of net-down script */
extern char path_ipup[]; /* pathname of ip-up script */
extern char path_ipdown[]; /* pathname of ip-down script */
+extern char path_ippreup[]; /* pathname of ip-pre-up script */
extern char req_ifname[]; /* interface name to use (IFNAMSIZ) */
extern bool multilink; /* enable multilink operation (options.c) */
extern bool noendpoint; /* don't send or accept endpt. discrim. */