summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/ipcp.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1998-06-27 16:24:52 +0000
committerbrian <brian@FreeBSD.org>1998-06-27 16:24:52 +0000
commit86d48ef9c4c112578de268455e8a638061655b76 (patch)
tree57f2f68711a0ab61d0d886b1d08665c3affc38a0 /usr.sbin/ppp/ipcp.c
parenta2d16c69749e92b1c9f77a6574367a9a03fc34bb (diff)
downloadFreeBSD-src-86d48ef9c4c112578de268455e8a638061655b76.zip
FreeBSD-src-86d48ef9c4c112578de268455e8a638061655b76.tar.gz
More u_long -> u_int32_t
Diffstat (limited to 'usr.sbin/ppp/ipcp.c')
-rw-r--r--usr.sbin/ppp/ipcp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ppp/ipcp.c b/usr.sbin/ppp/ipcp.c
index 1ee7df9..21e0eef 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.59 1998/06/27 14:17:27 brian Exp $
+ * $Id: ipcp.c,v 1.60 1998/06/27 14:18:06 brian Exp $
*
* TODO:
* o More RFC1772 backward compatibility
@@ -449,7 +449,7 @@ ipcp_SetIPaddress(struct bundle *bundle, struct in_addr myaddr,
{
struct sockaddr_in *sock_in;
int s;
- u_long mask, addr;
+ u_int32_t mask, addr;
struct ifaliasreq ifra;
/* If given addresses are alreay set, then ignore this request */
@@ -575,7 +575,7 @@ IpcpSendConfigReq(struct fsm *fp)
*(u_short *)o->data = htons(PROTO_VJCOMP);
INC_LCP_OPT(TY_COMPPROTO, 4, o);
} else {
- *(u_long *)o->data = htonl(ipcp->my_compproto);
+ *(u_int32_t *)o->data = htonl(ipcp->my_compproto);
INC_LCP_OPT(TY_COMPPROTO, 6, o);
}
}
OpenPOWER on IntegriCloud