Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
uweseimet committed Sep 25, 2023
1 parent f2f76b9 commit d543b77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/devices/ctapdriver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ pair<string, string> 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;
Expand Down

0 comments on commit d543b77

Please sign in to comment.