summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/main.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1998-06-15 19:05:51 +0000
committerbrian <brian@FreeBSD.org>1998-06-15 19:05:51 +0000
commit3f8652a3018ca60b9dd6e6cabb477c7abf044e98 (patch)
treefd13d6e2ea1c51f8d7ba44db68e08392fb75aca1 /usr.sbin/ppp/main.c
parent4ea5840027f56ea4075ff02e0ab45e168d292ec8 (diff)
downloadFreeBSD-src-3f8652a3018ca60b9dd6e6cabb477c7abf044e98.zip
FreeBSD-src-3f8652a3018ca60b9dd6e6cabb477c7abf044e98.tar.gz
Give ``load'' optional context. It's now possible to
``link 1,2,3 load label'' for people that want to set up their links in a more mpd-like manner.
Diffstat (limited to 'usr.sbin/ppp/main.c')
-rw-r--r--usr.sbin/ppp/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ppp/main.c b/usr.sbin/ppp/main.c
index 1a3749c..65f62d1 100644
--- a/usr.sbin/ppp/main.c
+++ b/usr.sbin/ppp/main.c
@@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: main.c,v 1.130 1998/06/06 20:50:57 brian Exp $
+ * $Id: main.c,v 1.131 1998/06/15 19:05:22 brian Exp $
*
* TODO:
*/
@@ -324,7 +324,7 @@ main(int argc, char **argv)
}
SignalBundle = bundle;
- if (system_Select(bundle, "default", CONFFILE, prompt) < 0)
+ if (system_Select(bundle, "default", CONFFILE, prompt, NULL) < 0)
prompt_Printf(prompt, "Warning: No default entry found in config file.\n");
sig_signal(SIGHUP, CloseSession);
@@ -347,7 +347,7 @@ main(int argc, char **argv)
* commands.
*/
bundle_SetLabel(bundle, label);
- if (system_Select(bundle, label, CONFFILE, prompt) < 0) {
+ if (system_Select(bundle, label, CONFFILE, prompt, NULL) < 0) {
prompt_Printf(prompt, "Destination system (%s) not found.\n", label);
AbortProgram(EX_START);
}
OpenPOWER on IntegriCloud