diff options
author | brian <brian@FreeBSD.org> | 1998-06-27 14:17:28 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1998-06-27 14:17:28 +0000 |
commit | 9666634a89fa23b0d1202c243cdc1224aa43c2e9 (patch) | |
tree | 35d9bd1c567aa322eca52f9c275e90ab7169459d /usr.sbin/ppp/ipcp.c | |
parent | 6a5332c7c79dd1e6809f85f057a351c5f861749e (diff) | |
download | FreeBSD-src-9666634a89fa23b0d1202c243cdc1224aa43c2e9.zip FreeBSD-src-9666634a89fa23b0d1202c243cdc1224aa43c2e9.tar.gz |
Don't dlopen()/dlsym() libalias, use it in the same way
as the rest of the world uses libraries.
Diffstat (limited to 'usr.sbin/ppp/ipcp.c')
-rw-r--r-- | usr.sbin/ppp/ipcp.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/usr.sbin/ppp/ipcp.c b/usr.sbin/ppp/ipcp.c index 3310b81..e01b34a 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.57 1998/06/16 19:40:38 brian Exp $ + * $Id: ipcp.c,v 1.58 1998/06/25 22:33:25 brian Exp $ * * TODO: * o More RFC1772 backward compatibility @@ -33,6 +33,9 @@ #include <sys/sockio.h> #include <sys/un.h> +#ifndef NOALIAS +#include <alias.h> +#endif #include <fcntl.h> #include <resolv.h> #include <stdlib.h> @@ -706,8 +709,8 @@ ipcp_InterfaceUp(struct ipcp *ipcp) } #ifndef NOALIAS - if (alias_IsEnabled()) - (*PacketAlias.SetAddress)(ipcp->my_ip); + if (ipcp->fsm.bundle->AliasEnabled) + PacketAliasSetAddress(ipcp->my_ip); #endif return 1; |