diff options
author | emaste <emaste@FreeBSD.org> | 2007-02-09 17:50:26 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2007-02-09 17:50:26 +0000 |
commit | 4d18a6391e0641145ae2bba5e54e5bf9e763eb57 (patch) | |
tree | 5a719d3797670e80a657e26189df5834f2199ca2 /sbin/dhclient/clparse.c | |
parent | 73c99587923d911647ba0ffc401352f2a4e22219 (diff) | |
download | FreeBSD-src-4d18a6391e0641145ae2bba5e54e5bf9e763eb57.zip FreeBSD-src-4d18a6391e0641145ae2bba5e54e5bf9e763eb57.tar.gz |
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 <bu7cher@yandex.ru>
Reviewed by: brooks
Diffstat (limited to 'sbin/dhclient/clparse.c')
-rw-r--r-- | sbin/dhclient/clparse.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |