From d543b77cc72e5e821ae4e1a85168a2c6a9a130e9 Mon Sep 17 00:00:00 2001 From: Uwe Seimet Date: Mon, 25 Sep 2023 10:19:48 +0200 Subject: [PATCH] Fix typo --- cpp/devices/ctapdriver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/devices/ctapdriver.cpp b/cpp/devices/ctapdriver.cpp index 11fb7db013..8cddc1c87b 100644 --- a/cpp/devices/ctapdriver.cpp +++ b/cpp/devices/ctapdriver.cpp @@ -217,7 +217,7 @@ pair CTapDriver::ExtractAddressAndMask(const string& s) const { string address = s; string netmask = "255.255.255.0"; //NOSONAR This hardcoded IP address is safe - if (const auto& components = Split(inet, '/', 2); components.size() == 2) { + if (const auto& components = Split(s, '/', 2); components.size() == 2) { address = components[0]; int m;