summaryrefslogtreecommitdiff
path: root/server/stables.c
diff options
context:
space:
mode:
authorDavid Hankins <dhankins@isc.org>2008-01-09 17:13:16 +0000
committerDavid Hankins <dhankins@isc.org>2008-01-09 17:13:16 +0000
commit2c9bf1f4bffa220606caf225b1d7612014aca73e (patch)
tree06e23a2f6af0bf387526de4990eda27ad9c8d5cb /server/stables.c
parent2e630dfbce287a425ffc2c76e58d3d3206a8d003 (diff)
downloadisc-dhcp-2c9bf1f4bffa220606caf225b1d7612014aca73e.tar.gz
- The minimum site code value was set to 224 in 3.1.0 to track RFC3942. This
broke a lot of legacy site local configurations. The new code in place will track site local space minimum option codes and logs a warning to encourage updates and exploration of site local code migration problems. Option codes less than 128 in site local spaces remain inaccessible. [ISC-Bugs #17203] - A possible relay agent option bug was repaired where random server initialization state may have been used to signal the relay agent information options sub-option code for the 'END' of the option space. [ISC-Bugs #17203]
Diffstat (limited to 'server/stables.c')
-rw-r--r--server/stables.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/server/stables.c b/server/stables.c
index 3e1dffdc..a2d76c79 100644
--- a/server/stables.c
+++ b/server/stables.c
@@ -347,6 +347,8 @@ void initialize_server_option_spaces()
agent_universe.store_tag = putUChar;
agent_universe.get_length = getUChar;
agent_universe.store_length = putUChar;
+ agent_universe.site_code_min = 0;
+ agent_universe.end = 0;
universes [agent_universe.index] = &agent_universe;
if (!option_name_new_hash(&agent_universe.name_hash,
AGENT_HASH_SIZE, MDL) ||
@@ -385,6 +387,8 @@ void initialize_server_option_spaces()
server_universe.tag_size = 4;
server_universe.store_tag = putUChar;
server_universe.store_length = putUChar;
+ server_universe.site_code_min = 0;
+ server_universe.end = 0;
server_universe.index = universe_count++;
universes [server_universe.index] = &server_universe;
if (!option_name_new_hash(&server_universe.name_hash,