mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-13 15:50:59 +00:00
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…
x
Reference in New Issue
Block a user