Skip to content

Commit

Permalink
make typos happy
Browse files Browse the repository at this point in the history
  • Loading branch information
egecetin committed Aug 3, 2022
1 parent d4c1444 commit 96ffdfc
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 4 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion 3rdParty/OUILookup/createHeader.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

# Prepare files
inFile = open("manuf.dat", "r")
outFile = open("PCPP_OUIDatabase.bin", "w")
outFile = open("PCPP_OUIDatabase.dat", "w")

Lines = inFile.readlines()
count = 0
Expand Down
2 changes: 1 addition & 1 deletion Common++/src/OUILookup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ int OUILookup::initOUIDatabase(const std::string &path)

// Open database
if (path.empty())
dataFile.open("PCPP_OUIDatabase.bin");
dataFile.open("PCPP_OUIDatabase.dat");
else
dataFile.open(path);

Expand Down
2 changes: 1 addition & 1 deletion Tests/Packet++Test/Tests/EthAndArpTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
PTF_TEST_CASE(OUILookup)
{
pcpp::OUILookup lookupEngine;
PTF_ASSERT_GREATER_THAN(lookupEngine.initOUIDatabase("../../3rdParty/OUILookup/PCPP_OUIDatabase.bin"), 0);
PTF_ASSERT_GREATER_THAN(lookupEngine.initOUIDatabase("../../3rdParty/OUILookup/PCPP_OUIDatabase.dat"), 0);

PTF_ASSERT_EQUAL(lookupEngine.getVendorName(pcpp::MacAddress("aa:aa:aa:aa:aa:aa")), "Unknown");

Expand Down
1 change: 0 additions & 1 deletion typos-config.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[files]
extend-exclude = [ "*.toml",
"*.bin",
"*.dat",
"codespell-ignore-list.txt",
"ci/",
Expand Down

0 comments on commit 96ffdfc

Please sign in to comment.