diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2014-01-21 03:07:52 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2014-01-21 03:07:52 +0000 |
commit | ccebaf6330c1236514987ed985fa4d83b955bbee (patch) | |
tree | 2f938103a4ae15e4ce3f02b6cebf46e02605151a /sbin/dhclient/dhcpd.h | |
parent | 54bb067f7ca618dd4db30a3a61dcd8eb3e27796e (diff) |
Add parsing for options 121 (classless-static-routes) and 249
(classless-ms-static-routes). dhcpd can now specify and serve
these options and dhclient can recognize and use supersede, etc.
statements on them.
Based on a diff from Stefan Rinke. Thanks!
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 26b8c37c4ab..51dd254a024 100644 --- a/sbin/dhclient/dhcpd.h +++ b/sbin/dhclient/dhcpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: dhcpd.h,v 1.133 2014/01/19 10:06:09 krw Exp $ */ +/* $OpenBSD: dhcpd.h,v 1.134 2014/01/21 03:07:50 krw Exp $ */ /* * Copyright (c) 2004 Henning Brauer <henning@openbsd.org> @@ -235,6 +235,7 @@ void skip_to_semi(FILE *); int parse_semi(FILE *); char *parse_string(FILE *); int parse_ip_addr(FILE *, struct in_addr *); +int parse_cidr(FILE *, unsigned char *); void parse_ethernet(FILE *, struct ether_addr *); void parse_lease_time(FILE *, time_t *); int parse_decimal(FILE *, unsigned char *, char); |