fix offer typo
authorDobrica Pavlinusic <dpavlin@rot13.org>
Sun, 13 Sep 2009 09:10:46 +0000 (09:10 +0000)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Sun, 13 Sep 2009 09:10:46 +0000 (09:10 +0000)
lib/PXElator/dhcpd.pm

index ac96512..b391051 100644 (file)
@@ -181,7 +181,7 @@ sub process_packet {
        if ($messagetype eq DHCPDISCOVER()) {
                $packet->{Comment} = $dhcp->comment();
                $packet->{DHO_DHCP_MESSAGE_TYPE()} = DHCPOFFER();
-               @type = qw( discover offser );
+               @type = qw( discover offer );
        } elsif ($messagetype eq DHCPREQUEST()) {
                @type = qw( request );
                my $requested_ip = $dhcp->getOptionValue(DHO_DHCP_REQUESTED_ADDRESS()) || $dhcp->ciaddr();