Skip to content

Commit bbc71d2

Browse files
pr remarks
1 parent 842096e commit bbc71d2

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

SharpPcap/LibPcap/ILibPcapLiveDevice.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public interface ILibPcapLiveDevice : ILiveDevice
4848
/// </summary>
4949
/// <param name="device">The original device</param>
5050
/// <returns>The cloned device</returns>
51-
ILibPcapLiveDevice Clone(ILibPcapLiveDevice device);
51+
ILibPcapLiveDevice Clone();
5252

5353

5454
/// <summary>

SharpPcap/LibPcap/LibPcapLiveDevice.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
using System;
88
using System.Collections.ObjectModel;
99
using System.Runtime.InteropServices;
10-
using System.Text;
1110

1211
namespace SharpPcap.LibPcap
1312
{
@@ -34,9 +33,9 @@ protected LibPcapLiveDevice()
3433
}
3534

3635
/// <inheritdoc/>
37-
public ILibPcapLiveDevice Clone(ILibPcapLiveDevice device)
36+
public ILibPcapLiveDevice Clone()
3837
{
39-
return new LibPcapLiveDevice(device.Interface);
38+
return new LibPcapLiveDevice(Interface);
4039
}
4140

4241
/// <summary>

0 commit comments

Comments
 (0)