diff options
author | Brian Somers <brian@FreeBSD.org> | 1998-06-15 19:05:51 +0000 |
---|---|---|
committer | Brian Somers <brian@FreeBSD.org> | 1998-06-15 19:05:51 +0000 |
commit | 30291ffb15d7e4b02d0e8de225a57dd49f655d4e (patch) | |
tree | 089967e03009d2845fc0deb7ca3290e24a7fc9f3 /usr.sbin/ppp/ipcp.c | |
parent | 9c81b87d1e56d3a7bbb680c3d2dab59d88d29481 (diff) | |
download | src-30291ffb15d7e4b02d0e8de225a57dd49f655d4e.tar.gz src-30291ffb15d7e4b02d0e8de225a57dd49f655d4e.zip |
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.
Notes
Notes:
svn path=/head/; revision=37008
Diffstat (limited to 'usr.sbin/ppp/ipcp.c')
-rw-r--r-- | usr.sbin/ppp/ipcp.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/usr.sbin/ppp/ipcp.c b/usr.sbin/ppp/ipcp.c index 65e975b36730..4af816e4865e 100644 --- a/usr.sbin/ppp/ipcp.c +++ b/usr.sbin/ppp/ipcp.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: ipcp.c,v 1.53 1998/05/29 18:32:11 brian Exp $ + * $Id: ipcp.c,v 1.54 1998/06/12 17:45:10 brian Exp $ * * TODO: * o More RFC1772 backwoard compatibility @@ -676,13 +676,13 @@ IpcpLayerDown(struct fsm *fp) * XXX this stuff should really live in the FSM. Our config should * associate executable sections in files with events. */ - if (system_Select(fp->bundle, s, LINKDOWNFILE, NULL) < 0) { + if (system_Select(fp->bundle, s, LINKDOWNFILE, NULL, NULL) < 0) { if (bundle_GetLabel(fp->bundle)) { if (system_Select(fp->bundle, bundle_GetLabel(fp->bundle), - LINKDOWNFILE, NULL) < 0) - system_Select(fp->bundle, "MYADDR", LINKDOWNFILE, NULL); + LINKDOWNFILE, NULL, NULL) < 0) + system_Select(fp->bundle, "MYADDR", LINKDOWNFILE, NULL, NULL); } else - system_Select(fp->bundle, "MYADDR", LINKDOWNFILE, NULL); + system_Select(fp->bundle, "MYADDR", LINKDOWNFILE, NULL, NULL); } if (!(ipcp->fsm.bundle->phys_type.all & PHYS_AUTO)) @@ -726,14 +726,14 @@ IpcpLayerUp(struct fsm *fp) * XXX this stuff should really live in the FSM. Our config should * associate executable sections in files with events. */ - if (system_Select(fp->bundle, inet_ntoa(ipcp->my_ifip), LINKUPFILE, NULL) - < 0) { + if (system_Select(fp->bundle, inet_ntoa(ipcp->my_ifip), LINKUPFILE, + NULL, NULL) < 0) { if (bundle_GetLabel(fp->bundle)) { if (system_Select(fp->bundle, bundle_GetLabel(fp->bundle), - LINKUPFILE, NULL) < 0) - system_Select(fp->bundle, "MYADDR", LINKUPFILE, NULL); + LINKUPFILE, NULL, NULL) < 0) + system_Select(fp->bundle, "MYADDR", LINKUPFILE, NULL, NULL); } else - system_Select(fp->bundle, "MYADDR", LINKUPFILE, NULL); + system_Select(fp->bundle, "MYADDR", LINKUPFILE, NULL, NULL); } throughput_start(&ipcp->throughput, "IPCP throughput", |