diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2017-06-24 23:32:58 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2017-06-24 23:32:58 +0000 |
commit | 1f798ec6650acfa47314adb27d9b706977fe81b3 (patch) | |
tree | 42234c37f82b2d7c14c88e085f2d2a199da212ef /sbin/dhclient/dhcpd.h | |
parent | 02f38cc9b88b5d262e2789312beaa4ea7b4ca763 (diff) |
Tweak handling of HUP and new LLADDR. Just use expose and use sighup()
function. Don't exit dispatch() loop on SIGHUP, wait for privileged
child to execvp() dhclient. Eliminate struct imsg_hup since its
contents were not being used except in priv_cleanup(). And
'active_addr' works just as well there.
Cleaner and eliminates some extraneous log entries.
Diffstat (limited to 'sbin/dhclient/dhcpd.h')
-rw-r--r-- | sbin/dhclient/dhcpd.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/dhclient/dhcpd.h b/sbin/dhclient/dhcpd.h index 7c8170959d7..0c20a0ea824 100644 --- a/sbin/dhclient/dhcpd.h +++ b/sbin/dhclient/dhcpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: dhcpd.h,v 1.194 2017/06/24 10:09:26 krw Exp $ */ +/* $OpenBSD: dhcpd.h,v 1.195 2017/06/24 23:32:57 krw Exp $ */ /* * Copyright (c) 2004 Henning Brauer <henning@openbsd.org> @@ -212,6 +212,7 @@ void interface_link_forceup(char *); int interface_status(struct interface_info *); int get_rdomain(char *); void get_hw_address(struct interface_info *); +void sendhup(void); /* tables.c */ extern const struct option dhcp_options[256]; |