From 4e41a8d7e0dd7d6999a23de985a1e9bf01b2e084 Mon Sep 17 00:00:00 2001 From: Shawn Routhier Date: Fri, 1 Jul 2011 23:16:37 +0000 Subject: [PATCH] correct spelling of options --- server/dhcp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/dhcp.c b/server/dhcp.c index 3650b5558..5875bb1be 100644 --- a/server/dhcp.c +++ b/server/dhcp.c @@ -2354,7 +2354,7 @@ void ack_lease (packet, lease, offer, when, msg, ms_nulltp, hp) * giaddr. */ if (!packet->agent_options_stashed && - (packet->otpions != NULL) && + (packet->options != NULL) && packet->options->universe_count > agent_universe.index && packet->options->universes[agent_universe.index] != NULL) { oc = lookup_option (&server_universe, state -> options, @@ -4507,7 +4507,7 @@ maybe_return_agent_options(struct packet *packet, struct option_state *options) * by the user into the new state, not just give up. */ if (!packet->agent_options_stashed && - (packet->otpions != NULL) && + (packet->options != NULL) && packet->options->universe_count > agent_universe.index && packet->options->universes[agent_universe.index] != NULL && (options->universe_count <= agent_universe.index || -- 2.47.3