tangled
alpha
login
or
join now
jcs.org
/
openbsd-src
0
fork
atom
jcs's openbsd hax
openbsd
0
fork
atom
overview
issues
pulls
pipelines
openbsd-src
/
sbin
/
dhclient
/
at
master
20 files
Makefile
Fold tables.c into options.c and stop exporting the one table (dhcp_options) involved. Provide functions code_to_name(), name_to_code(), code_to_format() and replace direct access to dhcp_options with them. Eliminate unneeded 'struct option'.
8 years ago
bpf.c
explicitly use BPF_FILDROP_CAPTURE when configuring BIOCSFILDROP
7 years ago
clparse.c
Stop checking 'epoch' in get_recorded_lease() and just set it as required in read_lease_db(). It's already set in packet_to_lease() and thus both paths to TAILQ_INSERT(lease_db) ensure there is a non-zero epoch in all lease_db entries.
5 years ago
conflex.c
Rename ACTION_NONE to ACTION_USELEASE. TOK_NOACTION to TOK_USELEASE. More consistent, clearer.
7 years ago
dhclient.8
Remove incorrect line about 'dhcp' in hostname.if triggering the use of dhclient.
3 years ago
dhclient.c
dhclient(8) has been undergoing replacement with "ifconfig xxx inet auto" for a couple of years, backed by dhcpleased(8), which provides much better dns handling. The next step is to make the dhclient simply execve ifconfig in that way, and provide syslog warnings about deprecated options along the way. This way, we can find the last few dhclient users, and what they are missing. ok florian krw
3 years ago
dhclient.conf.5
man pages: add missing commas between subordinate and main clauses
4 years ago
dhclient.leases.5
Stop inserting and paying attention to 'interface <if>;' inside 'lease {}' declarations. We don't keep leases from multiple interfaces in dhclient.leases.<if> files.
8 years ago
dhcp.h
Tweak some comments
8 years ago
dhcpd.h
Convert remaining timers (lease renew, rebind, expiry) to timespec values. Translate from the epoch values in leases to timespec values in one place.
5 years ago
dhctoken.h
Rename ACTION_NONE to ACTION_USELEASE. TOK_NOACTION to TOK_USELEASE. More consistent, clearer.
7 years ago
dispatch.c
Now that the real time and monotonic time streams don't cross flip CLOCK_REALTIME to CLOCK_MONOTONIC.
5 years ago
kroute.c
Now that the real time and monotonic time streams don't cross flip CLOCK_REALTIME to CLOCK_MONOTONIC.
5 years ago
log.c
From a syslog perspective it does not make sense to log fatal and warn with the same severity. Switch log_warn() to LOG_ERR and keep fatal() at LOG_CRIT. OK reyk@ florian@
9 years ago
log.h
including sys/cdefs.h manually started as a result of netbsd trying to macro-build a replacement for sccsid, and was done without any concern for namespace damage. Unfortunately this practice started infecting other code as others were unaware they didn't need the file. ok millert guenther
4 years ago
options.c
Revert r1.121 and rewrite merge_option_data() to achieve same effect w/o using string functions on data that *MIGHT NOT* be NUL terminated. Fiddle parse_domain_name_list() to avoid string functions for the same reason.
5 years ago
packet.c
remove unused decode_hw_header() function
5 years ago
parse.c
Cleanup/simplify parse_number():
6 years ago
privsep.c
No need to update resolv.conf when renewing a lease does not result in any configuration changges.
5 years ago
privsep.h
No need to update resolv.conf when renewing a lease does not result in any configuration changges.
5 years ago