diff options
author | brian <brian@FreeBSD.org> | 1997-07-29 22:37:04 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1997-07-29 22:37:04 +0000 |
commit | f15b8d152ab94684f3aabf9b5ca8e62ab987974a (patch) | |
tree | ae26288f3596159f8f878d613b466a13cbf64c3c /usr.sbin/ppp/ipcp.c | |
parent | 3d5f1848a6e8db38e37ab66ff08059ca90797aba (diff) | |
download | FreeBSD-src-f15b8d152ab94684f3aabf9b5ca8e62ab987974a.zip FreeBSD-src-f15b8d152ab94684f3aabf9b5ca8e62ab987974a.tar.gz |
Set up the alias address before executing
the contents of ppp.linkup.
Diffstat (limited to 'usr.sbin/ppp/ipcp.c')
-rw-r--r-- | usr.sbin/ppp/ipcp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ppp/ipcp.c b/usr.sbin/ppp/ipcp.c index 2b45c37..ae5e405 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.21 1997/06/09 03:27:24 brian Exp $ + * $Id: ipcp.c,v 1.22 1997/06/25 19:30:00 brian Exp $ * * TODO: * o More RFC1772 backwoard compatibility @@ -280,11 +280,11 @@ struct fsm *fp; LogPrintf(LogERROR, "IpcpLayerUp: unable to set ip address\n"); return; } + if (mode & MODE_ALIAS) + VarSetPacketAliasAddress(IpcpInfo.want_ipaddr); OsLinkup(); IpcpStartReport(); StartIdleTimer(); - if (mode & MODE_ALIAS) - VarSetPacketAliasAddress(IpcpInfo.want_ipaddr); } void |