From 978c10fab26406e335dbb4b962f6b9f696b77753 Mon Sep 17 00:00:00 2001 From: Ayoub Kaanich Date: Sun, 2 Mar 2025 04:39:08 +0100 Subject: [PATCH 1/2] Fix CI --- SharpPcap/SharpPcap.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SharpPcap/SharpPcap.csproj b/SharpPcap/SharpPcap.csproj index f546cd26..31813418 100644 --- a/SharpPcap/SharpPcap.csproj +++ b/SharpPcap/SharpPcap.csproj @@ -28,7 +28,7 @@ SPDX-License-Identifier: MIT true enable Nullable - 13.0 + 12.0 true From a9a9b8ed3d3e456e2e82119176cbc8c42f9db99f Mon Sep 17 00:00:00 2001 From: Ayoub Kaanich Date: Sun, 2 Mar 2025 04:51:30 +0100 Subject: [PATCH 2/2] Fix test --- Test/WinpkFilter/WinpkFilterDeviceTest.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Test/WinpkFilter/WinpkFilterDeviceTest.cs b/Test/WinpkFilter/WinpkFilterDeviceTest.cs index b56866e5..11d022ab 100644 --- a/Test/WinpkFilter/WinpkFilterDeviceTest.cs +++ b/Test/WinpkFilter/WinpkFilterDeviceTest.cs @@ -70,7 +70,7 @@ public void Properties() { Assert.That(device.Name, Is.Not.Null); Assert.That(device.FriendlyName, Is.Not.Null); - Assert.That(device.Description, Is.Null); + Assert.That(device.Description, Is.Empty); Assert.That(device.LastError, Is.Null); Assert.That(device.Filter, Is.Null); Assert.That(device.LinkType, Is.EqualTo(LinkLayers.Ethernet));