Skip to content

add -w output.pcap command line option to direct the output to a pcap #102

add -w output.pcap command line option to direct the output to a pcap

add -w output.pcap command line option to direct the output to a pcap #102

Triggered via pull request June 3, 2024 02:12
Status Success
Total duration 43s
Artifacts

c-linter.yml

on: pull_request
cpp-linter
36s
cpp-linter
Fit to window
Zoom out
Zoom in

Annotations

1 error and 9 warnings
src/common/sendpacket.c:467:5 [bugprone-branch-clone]: src/common/sendpacket.c#L467
switch has 2 consecutive identical branches
src/common/sendpacket.c:559:22 [performance-no-int-to-ptr]: src/common/sendpacket.c#L559
integer to pointer cast pessimizes optimization opportunities
src/common/sendpacket.c:848:19 [readability-identifier-length]: src/common/sendpacket.c#L848
variable name 'sp' is too short, expected at least 3 characters
src/common/sendpacket.c:863:10 [performance-no-int-to-ptr]: src/common/sendpacket.c#L863
integer to pointer cast pessimizes optimization opportunities
src/common/sendpacket.c:1307:5 [bugprone-branch-clone]: src/common/sendpacket.c#L1307
if with identical then and else branches
src/tcpreplay_api.c:144:1 [readability-function-cognitive-complexity]: src/tcpreplay_api.c#L144
function 'tcpreplay_post_args' has cognitive complexity of 88 (threshold 25)
cpp-linter
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.