2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-29 06:18:14 +00:00

fix hardware discovery issue that the findme request can be larger than 1500 bytes

This commit is contained in:
ertaozh
2015-06-11 03:18:32 -04:00
parent 63ca0b9811
commit 7a1fb1afc3

View File

@@ -710,7 +710,7 @@ sub do_udp_service { #This function opens up a UDP port
my $hdl;
foreach $hdl (@hdls) {
if ($hdl == $socket) {
$part = $socket->recv($data,1500);
$part = $socket->recv($data,2000);
$packets{$part} = [$part,$data];
} elsif ($hdl == $sslctl) {
update_udpcontext_from_sslctl(udpcontext=>$udpcontext,select=>$select);