Denys Vlasenko
|
2c3b71a0d2
dhcp: typo fix: UPD_DHCP_SIZE -> UDP_DHCP_SIZE
|
14 lat temu |
Denys Vlasenko
|
0ef64bdb40
*: make GNU licensing statement forms more regular
|
14 lat temu |
Denys Vlasenko
|
b8b72f02f0
dhcp: truncate packets instead of padding them to 574 bytes. closes bug 1849
|
14 lat temu |
Denys Vlasenko
|
b7d19cc400
dhcp: readability cleanups and small code shrink
|
14 lat temu |
Denys Vlasenko
|
385b4562e3
udhcp: cosmetic cleanups; one case of s/full_read/xread/
|
14 lat temu |
Denys Vlasenko
|
7724c766bd
udhcp: pass pointer to whole packet to "add option" functions
|
14 lat temu |
Denys Vlasenko
|
37a658c4c8
udhcp: handle errors in read_staticlease
|
14 lat temu |
Denys Vlasenko
|
dde8bdcc5b
udhcp: merge options.h into common.h, script.c into dhcpc.c
|
14 lat temu |
Denys Vlasenko
|
c7dc79e71d
udhcpd: untangle incredibly messy handling of DHCPREQUEST
|
14 lat temu |
Denys Vlasenko
|
9038d6f8f5
remove trailing whitespace
|
15 lat temu |
Denys Vlasenko
|
7a76eba1f6
udhcp: fix trivial compile error
|
15 lat temu |
Denys Vlasenko
|
6947d2c7e1
udhcp: logging improvements, field and variable renames
|
15 lat temu |
Denys Vlasenko
|
31af3d5a1d
udhcp: shorten mac len from 16 to 6 in lease file
|
15 lat temu |
Denys Vlasenko
|
ac906fa85e
udhcp: change UDHCP_DEBUG into int, make verbosity selectable with -v
|
15 lat temu |
Denis Vlasenko
|
db12d1d733
Fix forgotten license comments
|
16 lat temu |
Denis Vlasenko
|
739e30fbc3
udhcp: add inline docs; small code shrink
|
16 lat temu |
Denis Vlasenko
|
c321b51dc6
udhcp: added some FIXMEs; code shrink. -49 bytes
|
16 lat temu |
Denis Vlasenko
|
f1980f67d3
dhcp: add FAST_FUNC as appropriate. -160 bytes.
|
16 lat temu |
Denis Vlasenko
|
6de8994440
udhcpc: regularize the names of receiving functions,
|
16 lat temu |
Denis Vlasenko
|
a523e2efad
udhcp: we were forgetting to set right op byte in tha packet
|
16 lat temu |
Denis Vlasenko
|
8e5b6f58a2
Makefile: change version to 1.10.0.svn
|
17 lat temu |
Denis Vlasenko
|
619879246d
udhcp: decided to not send "short" dhcp packets,
|
17 lat temu |
Denis Vlasenko
|
fff145dba3
udhcp: fix oversized packet sending (introduced by "slack for bad dhcp servers" options);
|
17 lat temu |
Denis Vlasenko
|
6884f665bd
dhcp: stop using magic constants; use (htonl(CONST) != a) - it's smaller
|
17 lat temu |
Denis Vlasenko
|
a27a11bb2c
introduce and use xdup2(int, int)
|
17 lat temu |
Denis Vlasenko
|
42b3dea9bf
udhcp: many small fixes:
|
17 lat temu |
Denis Vlasenko
|
fbd2918f5c
udhcp: MAC_BCAST_ADDR and blank_chaddr are in fact constant, move to rodata.
|
17 lat temu |
Denis Vlasenko
|
83e5d6f772
A bunch of defined(__GLIBC__) added. static-linking warning expanded
|
18 lat temu |
Denis Vlasenko
|
48237b0c88
introduce setsockopt_reuseaddr(int fd), setsockopt_broadcast(int fd),
|
18 lat temu |
Denis Vlasenko
|
c9cdeaa3fe
add compile-time check for correct DHCP packet size
|
18 lat temu |