Set up the alias address before executing

the contents of ppp.linkup.
This commit is contained in:
Brian Somers 1997-07-29 22:37:04 +00:00
parent 5a6006b912
commit 4eb8b1640d
1 changed files with 3 additions and 3 deletions

View File

@ -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