diff options
author | Paul Mackerras <paulus@ozlabs.org> | 2022-07-04 17:37:31 +1000 |
---|---|---|
committer | Paul Mackerras <paulus@ozlabs.org> | 2022-07-04 17:54:20 +1000 |
commit | 72cf4afe3c7ef808bde3f5cea02cb631e2eb6fec (patch) | |
tree | 3d27ca5fc6d83f2b5b69d47f83c8bc47a33a1dab /pppd | |
parent | b417b79ee6e420bfaace6b987e7856713999337d (diff) | |
download | ppp-72cf4afe3c7ef808bde3f5cea02cb631e2eb6fec.tar.gz |
pppd: Add dummy noipx option
Add "noipx" as an option that does nothing to avoid breaking
installations that have "noipx" in /etc/ppp/defaults or wherever.
(The IPX-related options were removed by commit c2881a6b71a3 ("pppd:
Drop linux IPX support (#326)", 2022-01-13)).
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Diffstat (limited to 'pppd')
-rw-r--r-- | pppd/options.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pppd/options.c b/pppd/options.c index c959283..d4906c9 100644 --- a/pppd/options.c +++ b/pppd/options.c @@ -161,6 +161,8 @@ bool devnam_fixed; /* can no longer change device name */ static int logfile_fd = -1; /* fd opened for log file */ static char logfile_name[MAXPATHLEN]; /* name of log file */ +static bool noipx_opt; /* dummy for noipx option */ + /* * Prototypes */ @@ -382,6 +384,9 @@ option_t general_options[] = { "Check for traffic limit every N seconds", OPT_PRIO | OPT_LLIMIT | 1 }, #endif + /* Dummy option, does nothing */ + { "noipx", o_bool, &noipx_opt, NULL, OPT_NOPRINT | 1 }, + { NULL } }; |