Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions source/frontends/ncurses/asciiart.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

#include <unordered_map>
#include <vector>
#include <cstddef>
#include <initializer_list>

namespace na2
Expand Down
9 changes: 6 additions & 3 deletions source/linux/duplicates/tfearch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ bool tfe_arch_enumadapter_close()

pcap_t *TfePcapOpenAdapter(const std::string &interface_name)
{
return NULL;
return nullptr;
}

void TfePcapCloseAdapter(pcap_t *TfePcapFP)
Expand Down Expand Up @@ -77,7 +77,10 @@ void tfe_arch_set_hashfilter(const uint32_t hash_mask[2])
#endif
}

inline static const char* bool_to_cstring(bool b) { return b ? "true" : "false"; }
static const char *bool_to_cstring(bool b)
{
return b ? "true" : "false";
}

void tfe_arch_recv_ctl(
bool bBroadcast, /* broadcast */
Expand Down Expand Up @@ -133,7 +136,7 @@ int tfe_arch_receive(

const char *tfe_arch_lib_version()
{
return 0;
return nullptr;
}

bool tfe_arch_is_npcap_loaded()
Expand Down