/[pxelator]/lib/PXElator/dhcpd.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /lib/PXElator/dhcpd.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 423 by dpavlin, Sat Sep 12 22:18:34 2009 UTC revision 424 by dpavlin, Sun Sep 13 09:10:46 2009 UTC
# Line 181  sub process_packet { Line 181  sub process_packet {
181          if ($messagetype eq DHCPDISCOVER()) {          if ($messagetype eq DHCPDISCOVER()) {
182                  $packet->{Comment} = $dhcp->comment();                  $packet->{Comment} = $dhcp->comment();
183                  $packet->{DHO_DHCP_MESSAGE_TYPE()} = DHCPOFFER();                  $packet->{DHO_DHCP_MESSAGE_TYPE()} = DHCPOFFER();
184                  @type = qw( discover offser );                  @type = qw( discover offer );
185          } elsif ($messagetype eq DHCPREQUEST()) {          } elsif ($messagetype eq DHCPREQUEST()) {
186                  @type = qw( request );                  @type = qw( request );
187                  my $requested_ip = $dhcp->getOptionValue(DHO_DHCP_REQUESTED_ADDRESS()) || $dhcp->ciaddr();                  my $requested_ip = $dhcp->getOptionValue(DHO_DHCP_REQUESTED_ADDRESS()) || $dhcp->ciaddr();

Legend:
Removed from v.423  
changed lines
  Added in v.424

  ViewVC Help
Powered by ViewVC 1.1.26