summaryrefslogtreecommitdiff
path: root/networking/udhcp
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-01-22 14:04:27 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-01-22 14:04:27 +0000
commit35d4da0fb5884236fa7a131a13416268239c9e69 (patch)
tree1598327194a13be915980de0cb8be6a84e5c362c /networking/udhcp
parent85629f08bcea5d4a44b6d511422fd608bbc3fc45 (diff)
downloadbusybox-w32-35d4da0fb5884236fa7a131a13416268239c9e69.tar.gz
busybox-w32-35d4da0fb5884236fa7a131a13416268239c9e69.tar.bz2
busybox-w32-35d4da0fb5884236fa7a131a13416268239c9e69.zip
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.c8
1 files changed, 4 insertions, 4 deletions
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 @@
22 22
23/* This list holds information about clients. The xid_* functions manipulate this list. */ 23/* This list holds information about clients. The xid_* functions manipulate this list. */
24static struct xid_item { 24static struct xid_item {
25 u_int32_t xid; 25 uint32_t xid;
26 struct sockaddr_in ip; 26 struct sockaddr_in ip;
27 int client; 27 int client;
28 time_t timestamp; 28 time_t timestamp;
@@ -30,7 +30,7 @@ static struct xid_item {
30} dhcprelay_xid_list = {0, {0}, 0, 0, NULL}; 30} dhcprelay_xid_list = {0, {0}, 0, 0, NULL};
31 31
32 32
33static struct xid_item * xid_add(u_int32_t xid, struct sockaddr_in *ip, int client) 33static struct xid_item * xid_add(uint32_t xid, struct sockaddr_in *ip, int client)
34{ 34{
35 struct xid_item *item; 35 struct xid_item *item;
36 36
@@ -67,7 +67,7 @@ static void xid_expire(void)
67 } 67 }
68} 68}
69 69
70static struct xid_item * xid_find(u_int32_t xid) 70static struct xid_item * xid_find(uint32_t xid)
71{ 71{
72 struct xid_item *item = dhcprelay_xid_list.next; 72 struct xid_item *item = dhcprelay_xid_list.next;
73 while (item != NULL) { 73 while (item != NULL) {
@@ -79,7 +79,7 @@ static struct xid_item * xid_find(u_int32_t xid)
79 return NULL; 79 return NULL;
80} 80}
81 81
82static void xid_del(u_int32_t xid) 82static void xid_del(uint32_t xid)
83{ 83{
84 struct xid_item *item = dhcprelay_xid_list.next; 84 struct xid_item *item = dhcprelay_xid_list.next;
85 struct xid_item *last = &dhcprelay_xid_list; 85 struct xid_item *last = &dhcprelay_xid_list;