Skip to content

Commit ca18119

Browse files
committed
FileServer plugin: Initialize SUT IP list before using
1 parent fad55e5 commit ca18119

File tree

1 file changed

+1
-0
lines changed
  • ProtocolTestManager/Plugins/FileServerPlugin/FileServerPlugin/Detector

1 file changed

+1
-0
lines changed

ProtocolTestManager/Plugins/FileServerPlugin/FileServerPlugin/Detector/FSDetector.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ public NetworkInfo DetectSUTConnection()
124124

125125
if (IPAddress.TryParse(sutName, out address))
126126
{
127+
networkInfo.SUTIpList = new List<IPAddress>();
127128
networkInfo.SUTIpList.Add(address);
128129
}
129130
else //DNS resolve the SUT IP address by SUT name

0 commit comments

Comments
 (0)