fixes from tony
This commit is contained in:
parent
008e527c0f
commit
22c05ad542
|
@ -61,12 +61,7 @@ while ($sock->recv($newmsg, 1024)) {
|
||||||
}
|
}
|
||||||
print "Sending option 66 as $opt_u\n";
|
print "Sending option 66 as $opt_u\n";
|
||||||
|
|
||||||
$handle = IO::Socket::INET->new(Proto => 'udp',
|
|
||||||
PeerPort => '68',
|
$sock->send($dhcpresp->serialize())
|
||||||
LocalPort => '67',
|
|
||||||
ReuseAddr => 1,
|
|
||||||
PeerAddr => $dhcpreq->ciaddr(),
|
|
||||||
) or die "socket: $@";
|
|
||||||
$handle->send($dhcpresp->serialize())
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue