diff options
author | mbr <mbr@FreeBSD.org> | 2003-08-10 22:01:37 +0000 |
---|---|---|
committer | mbr <mbr@FreeBSD.org> | 2003-08-10 22:01:37 +0000 |
commit | b8e036915363343705ac0d5b4561f74486b5fedc (patch) | |
tree | 991bcd06c1d6ccbe551aaf2367ccb11c9aff90aa /contrib/isc-dhcp/includes | |
parent | 83fe81c666d21b7684cb3b294525319fd018522b (diff) | |
download | FreeBSD-src-b8e036915363343705ac0d5b4561f74486b5fedc.zip FreeBSD-src-b8e036915363343705ac0d5b4561f74486b5fedc.tar.gz |
Change name of state_link() to state_polling() to make it
more clear what it does.
Trim interface_active() to just do what it should do. Check
if we got link or not and if the NIC supports it. No special
treatment for mediachecks here anymore.
Simplify the code a lot, and remove doublicated parts.
Fix two minor spelling errors.
Add one missing #ifdef ENABLE_POLLING_MODE
Reviewed by: mdodd
Diffstat (limited to 'contrib/isc-dhcp/includes')
-rw-r--r-- | contrib/isc-dhcp/includes/dhcpd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/isc-dhcp/includes/dhcpd.h b/contrib/isc-dhcp/includes/dhcpd.h index cfce972..1b50c6c 100644 --- a/contrib/isc-dhcp/includes/dhcpd.h +++ b/contrib/isc-dhcp/includes/dhcpd.h @@ -1864,7 +1864,7 @@ void send_decline PROTO ((void *)); void state_reboot PROTO ((void *)); #ifdef ENABLE_POLLING_MODE -void state_link PROTO (()); +void state_polling PROTO (()); void state_background PROTO ((void *)); #endif void state_init PROTO ((void *)); |