From 4d18a6391e0641145ae2bba5e54e5bf9e763eb57 Mon Sep 17 00:00:00 2001 From: emaste Date: Fri, 9 Feb 2007 17:50:26 +0000 Subject: Implement RFC3442, the Classless Static Route option. The original DHCP specification includes a route option but it supports only class-based routes. RFC3442 adds support for specifying the netmask width for each static route. A variable length encoding is used to minimize the size of this option. PR: bin/99534 Submitted by: Andrey V. Elsukov Reviewed by: brooks --- sbin/dhclient/clparse.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sbin/dhclient/clparse.c') diff --git a/sbin/dhclient/clparse.c b/sbin/dhclient/clparse.c index e43a876..5d7084e 100644 --- a/sbin/dhclient/clparse.c +++ b/sbin/dhclient/clparse.c @@ -90,6 +90,8 @@ read_client_conf(void) top_level_config.requested_options [top_level_config.requested_option_count++] = DHO_TIME_OFFSET; top_level_config.requested_options + [top_level_config.requested_option_count++] = DHO_CLASSLESS_ROUTES; + top_level_config.requested_options [top_level_config.requested_option_count++] = DHO_ROUTERS; top_level_config.requested_options [top_level_config.requested_option_count++] = DHO_DOMAIN_NAME; -- cgit v1.1