Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimi1010 committed May 27, 2024
1 parent fd595c6 commit f03bb13
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Pcap++/header/DeviceUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ namespace pcpp
{
namespace internal
{
/**
/**
* Fetches a list of all network devices on the local machine that LibPcap/WinPcap/NPcap can find.
* @return A smart pointer to an interface list structure.
* @throws std::runtime_error The system encountered an error fetching the devices.
Expand All @@ -31,4 +31,4 @@ namespace pcpp
std::unique_ptr<pcap_if_t, PcapFreeAllDevsDeleter> getAllRemotePcapDevices(const IPAddress& ipAddress, uint16_t port, pcap_rmtauth* pRmAuth = nullptr);
#endif // _WIN32
}
}
}
2 changes: 1 addition & 1 deletion Pcap++/src/DeviceUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ namespace pcpp
}
#endif // _WIN32
}
}
}
2 changes: 1 addition & 1 deletion Pcap++/src/PcapRemoteDeviceList.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ std::unique_ptr<PcapRemoteDeviceList> PcapRemoteDeviceList::getRemoteDeviceList(
PCPP_LOG_ERROR(e.what());
return nullptr;
}

std::vector<std::shared_ptr<PcapRemoteDevice>> remoteDeviceList;
for (pcap_if_t* currInterface = interfaceList.get(); currInterface != nullptr; currInterface = currInterface->next)
{
Expand Down

0 comments on commit f03bb13

Please sign in to comment.