From ccebaf6330c1236514987ed985fa4d83b955bbee Mon Sep 17 00:00:00 2001 From: Kenneth R Westerback Date: Tue, 21 Jan 2014 03:07:52 +0000 Subject: 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! --- sbin/dhclient/dhcpd.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sbin/dhclient/dhcpd.h') 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 @@ -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); -- cgit v1.2.3