From 35d4da0fb5884236fa7a131a13416268239c9e69 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Mon, 22 Jan 2007 14:04:27 +0000 Subject: exterminate u_intXXX. fix ping6 buglet (memset is too short), minor sync between ping and ping6 --- networking/udhcp/dhcprelay.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'networking/udhcp/dhcprelay.c') diff --git a/networking/udhcp/dhcprelay.c b/networking/udhcp/dhcprelay.c index 78a1b5e62..418aa7cbb 100644 --- a/networking/udhcp/dhcprelay.c +++ b/networking/udhcp/dhcprelay.c @@ -22,7 +22,7 @@ /* This list holds information about clients. The xid_* functions manipulate this list. */ static struct xid_item { - u_int32_t xid; + uint32_t xid; struct sockaddr_in ip; int client; time_t timestamp; @@ -30,7 +30,7 @@ static struct xid_item { } dhcprelay_xid_list = {0, {0}, 0, 0, NULL}; -static struct xid_item * xid_add(u_int32_t xid, struct sockaddr_in *ip, int client) +static struct xid_item * xid_add(uint32_t xid, struct sockaddr_in *ip, int client) { struct xid_item *item; @@ -67,7 +67,7 @@ static void xid_expire(void) } } -static struct xid_item * xid_find(u_int32_t xid) +static struct xid_item * xid_find(uint32_t xid) { struct xid_item *item = dhcprelay_xid_list.next; while (item != NULL) { @@ -79,7 +79,7 @@ static struct xid_item * xid_find(u_int32_t xid) return NULL; } -static void xid_del(u_int32_t xid) +static void xid_del(uint32_t xid) { struct xid_item *item = dhcprelay_xid_list.next; struct xid_item *last = &dhcprelay_xid_list; -- cgit v1.2.3