summaryrefslogtreecommitdiff
path: root/sbin/dhclient/dhcpd.h
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2017-09-09 15:08:00 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2017-09-09 15:08:00 +0000
commit46c258727e1a85925e4c7f4a88e2bf3ddd77c667 (patch)
tree0a97169763b2af74447b62f1a0941668eb17030e /sbin/dhclient/dhcpd.h
parent152bd7a2c057d90ff643f447ea811b8a676b6ad7 (diff)
Tweak extract_classless_route() to return unsigned int
and accept NULL pointers for unwanted components of the route.
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 8543adae8c3..7a6e908dc97 100644
--- a/sbin/dhclient/dhcpd.h
+++ b/sbin/dhclient/dhcpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: dhcpd.h,v 1.225 2017/08/29 13:21:30 krw Exp $ */
+/* $OpenBSD: dhcpd.h,v 1.226 2017/09/09 15:07:59 krw Exp $ */
/*
* Copyright (c) 2004 Henning Brauer <henning@openbsd.org>
@@ -233,8 +233,8 @@ void read_client_conf(char *);
void read_client_leases(char *, struct client_lease_tq *);
/* kroute.c */
-int extract_classless_route(uint8_t *, unsigned int,
- in_addr_t *, in_addr_t *, in_addr_t *);
+unsigned int extract_classless_route(uint8_t *, unsigned int,
+ in_addr_t *, in_addr_t *, in_addr_t *);
void delete_address(struct in_addr);
void set_resolv_conf(char *, uint8_t *, unsigned int,
uint8_t *, unsigned int);