mirror of
https://git.busybox.net/udhcp
synced 2025-05-09 06:11:34 +08:00
spelling fixes
This commit is contained in:
parent
293312a69f
commit
91260dd1f1
@ -14,7 +14,7 @@
|
|||||||
+ use /dev/urandom to seed xid's (instead of time(0)) (me)
|
+ use /dev/urandom to seed xid's (instead of time(0)) (me)
|
||||||
+ fixed renew behavior (me)
|
+ fixed renew behavior (me)
|
||||||
+ udhcp now fits nicely into busybox
|
+ udhcp now fits nicely into busybox
|
||||||
(Glenn McGrath <bug1@optushome.com.au> as well as myself)
|
(Glenn McGrath <bug1@iinet.net.au> as well as myself)
|
||||||
+ updated client manpage (me)
|
+ updated client manpage (me)
|
||||||
+ both client and server now use sockets for signal handling,
|
+ both client and server now use sockets for signal handling,
|
||||||
hopefully, this will be the last needed change in signal
|
hopefully, this will be the last needed change in signal
|
||||||
@ -39,7 +39,7 @@
|
|||||||
(Ted Lemon <Ted.Lemon@nominum.com>)
|
(Ted Lemon <Ted.Lemon@nominum.com>)
|
||||||
+ Improved (hopefully) NAKing behavior (me)
|
+ Improved (hopefully) NAKing behavior (me)
|
||||||
+ Added -b option (Jouni Malinen)
|
+ Added -b option (Jouni Malinen)
|
||||||
+ Compute checksums correctly on big endian hosts
|
+ Compute checksums correctly on big endian hosts
|
||||||
(Jouni Malinen <jkmaline@cc.hut.fi>)
|
(Jouni Malinen <jkmaline@cc.hut.fi>)
|
||||||
|
|
||||||
0.9.7 (020526)
|
0.9.7 (020526)
|
||||||
|
@ -82,7 +82,7 @@ static void init_packet(struct dhcpMessage *packet, char type)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Add a paramater request list for stubborn DHCP servers. Pull the data
|
/* Add a parameter request list for stubborn DHCP servers. Pull the data
|
||||||
* from the struct in options.c. Don't do bounds checking here because it
|
* from the struct in options.c. Don't do bounds checking here because it
|
||||||
* goes towards the head of the packet. */
|
* goes towards the head of the packet. */
|
||||||
static void add_requests(struct dhcpMessage *packet)
|
static void add_requests(struct dhcpMessage *packet)
|
||||||
|
2
common.c
2
common.c
@ -4,7 +4,7 @@
|
|||||||
* simple helper functions.
|
* simple helper functions.
|
||||||
*
|
*
|
||||||
* Russ Dill <Russ.Dill@asu.edu> 2001-2003
|
* Russ Dill <Russ.Dill@asu.edu> 2001-2003
|
||||||
* Rewrited by Vladimir Oleynik <dzo@simtreas.ru> (C) 2003
|
* Rewritten by Vladimir Oleynik <dzo@simtreas.ru> (C) 2003
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
4
common.h
4
common.h
@ -1,7 +1,7 @@
|
|||||||
/* common.h
|
/* common.h
|
||||||
*
|
*
|
||||||
* Russ Dill <Russ.Dill@asu.edu> Soptember 2001
|
* Russ Dill <Russ.Dill@asu.edu> September 2001
|
||||||
* Rewrited by Vladimir Oleynik <dzo@simtreas.ru> (C) 2003
|
* Rewritten by Vladimir Oleynik <dzo@simtreas.ru> (C) 2003
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
2
packet.c
2
packet.c
@ -113,7 +113,7 @@ uint16_t checksum(void *addr, int count)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Constuct a ip/udp header for a packet, and specify the source and dest hardware address */
|
/* Construct a ip/udp header for a packet, and specify the source and dest hardware address */
|
||||||
int raw_packet(struct dhcpMessage *payload, uint32_t source_ip, int source_port,
|
int raw_packet(struct dhcpMessage *payload, uint32_t source_ip, int source_port,
|
||||||
uint32_t dest_ip, int dest_port, uint8_t *dest_arp, int ifindex)
|
uint32_t dest_ip, int dest_port, uint8_t *dest_arp, int ifindex)
|
||||||
{
|
{
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
*
|
*
|
||||||
* Functions to assist in the writing and removing of pidfiles.
|
* Functions to assist in the writing and removing of pidfiles.
|
||||||
*
|
*
|
||||||
* Russ Dill <Russ.Dill@asu.edu> Soptember 2001
|
* Russ Dill <Russ.Dill@asu.edu> September 2001
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
*
|
*
|
||||||
* Functions to assist in the writing and removing of pidfiles.
|
* Functions to assist in the writing and removing of pidfiles.
|
||||||
*
|
*
|
||||||
* Russ Dill <Russ.Dill@asu.edu> Soptember 2001
|
* Russ Dill <Russ.Dill@asu.edu> September 2001
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Sample udhcpc bound script
|
# Sample udhcpc renew script
|
||||||
|
|
||||||
RESOLV_CONF="/etc/udhcpc/resolv.conf"
|
RESOLV_CONF="/etc/udhcpc/resolv.conf"
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Sample udhcpc renew script
|
# Sample udhcpc bound script
|
||||||
|
|
||||||
RESOLV_CONF="/etc/udhcpc/resolv.conf"
|
RESOLV_CONF="/etc/udhcpc/resolv.conf"
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@ interface eth0 #default: eth0
|
|||||||
#auto_time 7200 #default: 7200 (2 hours)
|
#auto_time 7200 #default: 7200 (2 hours)
|
||||||
|
|
||||||
|
|
||||||
# The amount of time that an IP will be reserved (leased) for if a
|
# The amount of time that an IP will be reserved (leased) for if a
|
||||||
# DHCP decline message is received (seconds).
|
# DHCP decline message is received (seconds).
|
||||||
|
|
||||||
#decline_time 3600 #default: 3600 (1 hour)
|
#decline_time 3600 #default: 3600 (1 hour)
|
||||||
|
2
script.c
2
script.c
@ -132,7 +132,7 @@ static void fill_options(char *dest, uint8_t *option, struct dhcp_option *type_p
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* put all the paramaters into an environment */
|
/* put all the parameters into an environment */
|
||||||
static char **fill_envp(struct dhcpMessage *packet)
|
static char **fill_envp(struct dhcpMessage *packet)
|
||||||
{
|
{
|
||||||
int num_options = 0;
|
int num_options = 0;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/* serverpacket.c
|
/* serverpacket.c
|
||||||
*
|
*
|
||||||
* Constuct and send DHCP server packets
|
* Construct and send DHCP server packets
|
||||||
*
|
*
|
||||||
* Russ Dill <Russ.Dill@asu.edu> July 2001
|
* Russ Dill <Russ.Dill@asu.edu> July 2001
|
||||||
*
|
*
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
/* signalpipe.c
|
/* signalpipe.c
|
||||||
*
|
*
|
||||||
* Signal pipe infastructure. A reliable way of delivering signals.
|
* Signal pipe infrastructure. A reliable way of delivering signals.
|
||||||
*
|
*
|
||||||
* Russ Dill <Russ.Dill@asu.edu> Decemeber 2003
|
* Russ Dill <Russ.Dill@asu.edu> December 2003
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
Loading…
x
Reference in New Issue
Block a user