summaryrefslogtreecommitdiff
path: root/sbin/dhclient/dhcpd.h
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2017-06-29 13:55:54 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2017-06-29 13:55:54 +0000
commit51fc996614d0cfe36914d8a9625ace0b34ca7e61 (patch)
tree17c938a674543b7270cbf27e0a19a33344cae629 /sbin/dhclient/dhcpd.h
parent2fd0244d8eda384667cbb4a05437223806cc4b92 (diff)
delete_addresses(), interface_status(), addressinuse(),
lease_as_string() and rewrite_option_db() only use the interface name, so supply just the name. Tweak interface_link_forceup() to use the same param name as other functions taking the interface name.
Diffstat (limited to 'sbin/dhclient/dhcpd.h')
-rw-r--r--sbin/dhclient/dhcpd.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/dhclient/dhcpd.h b/sbin/dhclient/dhcpd.h
index c242a6f6b77..64744fc732c 100644
--- a/sbin/dhclient/dhcpd.h
+++ b/sbin/dhclient/dhcpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: dhcpd.h,v 1.198 2017/06/28 15:23:19 krw Exp $ */
+/* $OpenBSD: dhcpd.h,v 1.199 2017/06/29 13:55:53 krw Exp $ */
/*
* Copyright (c) 2004 Henning Brauer <henning@openbsd.org>
@@ -208,7 +208,7 @@ void set_timeout( struct interface_info *, time_t,
void (*)(struct interface_info *));
void cancel_timeout(struct interface_info *);
void interface_link_forceup(char *);
-int interface_status(struct interface_info *);
+int interface_status(char *);
void get_hw_address(struct interface_info *);
void sendhup(void);
@@ -241,7 +241,7 @@ void read_client_conf(struct interface_info *);
void read_client_leases(struct interface_info *);
/* kroute.c */
-void delete_addresses(struct interface_info *);
+void delete_addresses(char *);
void delete_address(struct in_addr);
void set_interface_mtu(int);