summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/ppp/main.c')
-rw-r--r--usr.sbin/ppp/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ppp/main.c b/usr.sbin/ppp/main.c
index 6f68b7f..097de79 100644
--- a/usr.sbin/ppp/main.c
+++ b/usr.sbin/ppp/main.c
@@ -393,7 +393,7 @@ main(int argc, char **argv)
SignalBundle = bundle;
bundle->NatEnabled = sw.nat;
if (sw.nat)
- bundle->cfg.opt |= OPT_IFACEALIAS;
+ opt_enable(bundle, OPT_IFACEALIAS);
if (system_Select(bundle, "default", CONFFILE, prompt, NULL) < 0)
prompt_Printf(prompt, "Warning: No default entry found in config file.\n");
OpenPOWER on IntegriCloud