diff --git a/cpp/devices/ctapdriver.cpp b/cpp/devices/ctapdriver.cpp index ca083b3068..23df682187 100644 --- a/cpp/devices/ctapdriver.cpp +++ b/cpp/devices/ctapdriver.cpp @@ -213,9 +213,9 @@ bool CTapDriver::Init(const unordered_map& const_params) #endif } -pair CTapDriver::ExtractAddressAndMask(const string& inet) const +pair CTapDriver::ExtractAddressAndMask(const string& s) const { - string address = inet; + string address = s; string netmask = "255.255.255.0"; //NOSONAR This hardcoded IP address is safe const auto& components = Split(inet, '/', 2); if (components.size() == 2) {