mirror of
https://git.busybox.net/udhcp
synced 2025-05-08 22:09:45 +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)
|
||||
+ fixed renew behavior (me)
|
||||
+ 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)
|
||||
+ both client and server now use sockets for signal handling,
|
||||
hopefully, this will be the last needed change in signal
|
||||
|
@ -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
|
||||
* goes towards the head of the packet. */
|
||||
static void add_requests(struct dhcpMessage *packet)
|
||||
|
2
common.c
2
common.c
@ -4,7 +4,7 @@
|
||||
* simple helper functions.
|
||||
*
|
||||
* 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
|
||||
* 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
|
||||
*
|
||||
* Russ Dill <Russ.Dill@asu.edu> Soptember 2001
|
||||
* Rewrited by Vladimir Oleynik <dzo@simtreas.ru> (C) 2003
|
||||
* Russ Dill <Russ.Dill@asu.edu> September 2001
|
||||
* Rewritten by Vladimir Oleynik <dzo@simtreas.ru> (C) 2003
|
||||
*
|
||||
* 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
|
||||
|
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,
|
||||
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.
|
||||
*
|
||||
* 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
|
||||
* 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.
|
||||
*
|
||||
* 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
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# Sample udhcpc bound script
|
||||
# Sample udhcpc renew script
|
||||
|
||||
RESOLV_CONF="/etc/udhcpc/resolv.conf"
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# Sample udhcpc renew script
|
||||
# Sample udhcpc bound script
|
||||
|
||||
RESOLV_CONF="/etc/udhcpc/resolv.conf"
|
||||
|
||||
|
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)
|
||||
{
|
||||
int num_options = 0;
|
||||
|
@ -1,6 +1,6 @@
|
||||
/* serverpacket.c
|
||||
*
|
||||
* Constuct and send DHCP server packets
|
||||
* Construct and send DHCP server packets
|
||||
*
|
||||
* Russ Dill <Russ.Dill@asu.edu> July 2001
|
||||
*
|
||||
|
@ -1,8 +1,8 @@
|
||||
/* 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
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
Loading…
x
Reference in New Issue
Block a user