We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eee8735 commit e724d86Copy full SHA for e724d86
SharpPcap/LibPcap/LibPcapLiveDevice.cs
@@ -109,8 +109,11 @@ public override void Open(DeviceConfiguration configuration)
109
immediateMode = true;
110
}
111
112
+ var remote_pcap = pcapInterface.Name.StartsWith("rpcap://")
113
+ || pcapInterface.Name.StartsWith("rpcaps://")
114
+ || credentials != null;
115
// Some configurations can only be used with pcap_create
- var use_pcap_create = credentials == null && (short)otherModes == 0;
116
+ var use_pcap_create = !remote_pcap && (short)otherModes == 0;
117
if (use_pcap_create)
118
{
119
Handle = LibPcapSafeNativeMethods.pcap_create(
0 commit comments