summaryrefslogtreecommitdiff
path: root/sbin/dhclient/dhcpd.h
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2017-07-22 14:56:28 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2017-07-22 14:56:28 +0000
commit4de9d35cbf2fc1ad09b6bee12d77af60888d79ef (patch)
tree1b8df6344a379b61ebac206f667c4eee78eca679 /sbin/dhclient/dhcpd.h
parentdcde299afc055b737334395365b7ef6b2a485eb7 (diff)
Rename *_add_address to *_set_address to reflect that the
lease address replaces all current addresses. Shuffle some code from bind_lease() into set_mtu()/set_address() to shrink bind_lease().
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 a4a6a0e6f43..3431f5f5a70 100644
--- a/sbin/dhclient/dhcpd.h
+++ b/sbin/dhclient/dhcpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: dhcpd.h,v 1.213 2017/07/21 18:57:55 krw Exp $ */
+/* $OpenBSD: dhcpd.h,v 1.214 2017/07/22 14:56:27 krw Exp $ */
/*
* Copyright (c) 2004 Henning Brauer <henning@openbsd.org>
@@ -237,8 +237,8 @@ void read_client_leases(char *, struct client_lease_tq *);
void delete_addresses(char *);
void delete_address(struct in_addr);
-void set_mtu(int);
-void add_address(struct in_addr, struct in_addr);
+void set_mtu(struct option_data *);
+void set_address(struct in_addr, struct option_data *);
void flush_routes(void);