]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
correct spelling of options
authorShawn Routhier <sar@isc.org>
Fri, 1 Jul 2011 23:16:37 +0000 (23:16 +0000)
committerShawn Routhier <sar@isc.org>
Fri, 1 Jul 2011 23:16:37 +0000 (23:16 +0000)
server/dhcp.c

index 3650b5558a7f87c76e39e774231983aab92104ac..5875bb1be658fe1f1b0a9ff410a7b52e6c2d3e85 100644 (file)
@@ -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 ||