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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user