Skip to content

Commit

Permalink
- Fix typos
Browse files Browse the repository at this point in the history
- Add `3rdParty` folder to ignore list
  • Loading branch information
seladb committed Oct 16, 2023
1 parent 783abde commit 776c184
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .codespellrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[codespell]
skip = *.dat,typos-config.toml,.git,./ci,./Dist,./mk,./Tests/ExamplesTest/expected_output,./Tests/ExamplesTest/pcap_examples,./Tests/Packet++Test/PacketExamples,./Tests/Pcap++Test/PcapExamples,./3rdParty/json,./3rdParty/OUIDataset/PCPP_OUIDataset.json
skip = *.dat,typos-config.toml,.git,./ci,./Dist,./mk,./Tests/ExamplesTest/expected_output,./Tests/ExamplesTest/pcap_examples,./Tests/Packet++Test/PacketExamples,./Tests/Pcap++Test/PcapExamples,./3rdParty
ignore-words = codespell-ignore-list.txt
count =
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Every code contribution to this project is highly valued and appreciated. I enco
- After you're done writing your code, please make sure that:
- You added unit-tests for all of the new code, either on `Tests/Packet++Test` or `Tests/Pcap++Test` (whichever makes sense)
- PcapPlusPlus compiles successfully on your machine, including all unit-tests and examples
- Unit-tests pass succssfully on your machine (both `Tests/Packet++Test` and `Tests/Pcap++Test`)
- Unit-tests pass successfully on your machine (both `Tests/Packet++Test` and `Tests/Pcap++Test`)
- All new APIs are well documented using Doxygen (please use @ for keywords)
- Make sure that pre-commit hooks are passing by using `pre-commit run --all-files`. For pre-commit hooks you need to install `cppcheck` on your system. Recommended and tested version is 2.7. You can install by using:
- For Linux (apt) `sudo apt install cppcheck`
Expand Down
2 changes: 1 addition & 1 deletion Packet++/header/NflogLayer.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ namespace pcpp
NFULA_UID = 11,
/** sequence number of packets on this NFLOG socket */
NFULA_SEQ = 12,
/** sequence number of pakets on all NFLOG sockets */
/** sequence number of packets on all NFLOG sockets */
NFULA_SEQ_GLOBAL = 13,
/** GID owning socket on which packet was sent/received */
NFULA_GID = 14,
Expand Down
2 changes: 1 addition & 1 deletion Pcap++/header/DpdkDevice.h
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ namespace pcpp
* @param[in] onPacketsArrive The user callback which will be invoked each time a burst of packets is captured by the device
* @param[in] onPacketsArriveUserCookie The user callback is invoked with this cookie as a parameter. It can be used to pass
* information from the user application to the callback
* @param coreMask The core-mask for creating the cpature threads
* @param coreMask The core-mask for creating the capture threads
* @return True if all capture threads started successfully or false if device is already in capture mode, not all cores in the core-mask are
* available to DPDK, there are not enough opened RX queues to match all cores in the core-mask, or if thread invocation failed. In
* all of these cases an appropriate error message will be printed
Expand Down

0 comments on commit 776c184

Please sign in to comment.