diff options
author | Denis Vlasenko | 2007-01-22 14:04:27 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-01-22 14:04:27 +0000 |
commit | 35d4da0fb5884236fa7a131a13416268239c9e69 (patch) | |
tree | 1598327194a13be915980de0cb8be6a84e5c362c /networking/udhcp | |
parent | 85629f08bcea5d4a44b6d511422fd608bbc3fc45 (diff) | |
download | busybox-35d4da0fb5884236fa7a131a13416268239c9e69.zip busybox-35d4da0fb5884236fa7a131a13416268239c9e69.tar.gz |
exterminate u_intXXX.
fix ping6 buglet (memset is too short), minor sync between ping and ping6
Diffstat (limited to 'networking/udhcp')
-rw-r--r-- | networking/udhcp/dhcprelay.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/networking/udhcp/dhcprelay.c b/networking/udhcp/dhcprelay.c index 78a1b5e..418aa7c 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; |