Skip to content

Fix compiler issue#20

Open
GieskerB wants to merge 2 commits intoNitya-003:mainfrom
GieskerB:fix_compiler_issue
Open

Fix compiler issue#20
GieskerB wants to merge 2 commits intoNitya-003:mainfrom
GieskerB:fix_compiler_issue

Conversation

@GieskerB
Copy link

📌 Description

Current version on main branch does not compile.
I have fixed these 2 issues by commenting out a probably debrecated variable:

  • const u_char* ringBuffer[RING_SIZE]; in PacketCapture.h
  • const struct pcap_pkthdr* does not have a paramter name in PacketCapture::parsePacket

🛠️ Technical Checklist

  • [ Yes] Cross-Platform: Tested on Linux? (Yes/No)
  • [No ] Cross-Platform: Tested on Windows? (Yes/No)
  • [yes ] Sudo/Admin: Verified packet capture works with privileges?
  • [no ] Memory: Checked for libpcap handle leaks?

🔗 Related Issue

Closes #
None

📸 Screenshots

None

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant