diff options
author | Daniel Barlow <dan@telent.net> | 2021-11-20 04:58:17 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-20 15:58:17 +1100 |
commit | 7f8c1a1f8e486b232340fd9a0a19c5d34f1c5ae0 (patch) | |
tree | b93166ec4c2e725e9a043a3dececc1d31981a943 /pppd/pppd.h | |
parent | 8193e530c639f1d40bb753f963770c63e25b70f9 (diff) | |
download | ppp-7f8c1a1f8e486b232340fd9a0a19c5d34f1c5ae0.tar.gz |
pppd: Add ipv6-{up,down}-script options (#321)
These allow a user to specify the paths to the scripts
usually located at /etc/ppp/ipv6-up and /etc/ppp/ipv6-down,
similarly to the existing ip-up-script and ip-down-script
options
Signed-off-by: Daniel Barlow <dan@telent.net>
Diffstat (limited to 'pppd/pppd.h')
-rw-r--r-- | pppd/pppd.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pppd/pppd.h b/pppd/pppd.h index ab8f674..ce43a28 100644 --- a/pppd/pppd.h +++ b/pppd/pppd.h @@ -336,6 +336,11 @@ extern bool dump_options; /* print out option values */ extern bool dryrun; /* check everything, print options, exit */ extern int child_wait; /* # seconds to wait for children at end */ +#ifdef INET6 +extern char path_ipv6up[MAXPATHLEN]; /* pathname of ipv6-up script */ +extern char path_ipv6down[MAXPATHLEN]; /* pathname of ipv6-down script */ +#endif + #if defined(USE_EAPTLS) || defined(USE_PEAP) #define TLS_VERIFY_NONE "none" |