From: Shawn Routhier Date: Fri, 1 Jul 2011 23:16:37 +0000 (+0000) Subject: correct spelling of options X-Git-Tag: v4_3_0a1~164 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e41a8d7e0dd7d6999a23de985a1e9bf01b2e084;p=thirdparty%2Fdhcp.git correct spelling of options --- 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 ||