Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove deprecated TcpOptionType #1615

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

WojtekMs
Copy link
Contributor

This is a continuation of #1289

Please let me know if you think it's okay to remove the deprecated feature, now that it was already released :)

@WojtekMs WojtekMs requested a review from seladb as a code owner October 18, 2024 09:54
Copy link

codecov bot commented Oct 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.14%. Comparing base (bdc68bd) to head (124430f).
Report is 1 commits behind head on dev.

Additional details and impacted files
@@            Coverage Diff             @@
##              dev    #1615      +/-   ##
==========================================
- Coverage   83.16%   83.14%   -0.03%     
==========================================
  Files         276      276              
  Lines       47288    47191      -97     
  Branches     9616     9498     -118     
==========================================
- Hits        39326    39235      -91     
+ Misses       7076     7072       -4     
+ Partials      886      884       -2     
Flag Coverage Δ
fedora40 75.25% <100.00%> (-0.03%) ⬇️
macos-13 80.68% <100.00%> (-0.02%) ⬇️
macos-14 80.69% <100.00%> (-0.01%) ⬇️
macos-15 80.66% <100.00%> (-0.01%) ⬇️
mingw32 70.84% <ø> (-0.02%) ⬇️
mingw64 70.79% <ø> (-0.04%) ⬇️
npcap 85.14% <ø> (-0.08%) ⬇️
rhel94 75.12% <100.00%> (+<0.01%) ⬆️
ubuntu2004 58.69% <42.85%> (-0.01%) ⬇️
ubuntu2004-zstd 58.84% <42.85%> (+0.02%) ⬆️
ubuntu2204 75.03% <100.00%> (-0.02%) ⬇️
ubuntu2204-icpx 61.52% <ø> (-0.01%) ⬇️
ubuntu2404 75.31% <100.00%> (+<0.01%) ⬆️
unittest 83.14% <100.00%> (-0.03%) ⬇️
windows-2019 85.25% <ø> (-0.01%) ⬇️
windows-2022 85.27% <ø> (-0.01%) ⬇️
winpcap 85.23% <ø> (+<0.01%) ⬆️
xdp 50.19% <100.00%> (-0.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

.isNotNull());
tcpLayer.addTcpOption(pcpp::TcpOptionBuilder(pcpp::TcpOptionBuilder::NopEolOptionEnumType::Nop)).isNotNull());
PTF_ASSERT_EQUAL(tcpLayer.getHeaderLen(), 24);
PTF_ASSERT_TRUE(tcpLayer
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The formatting looks bad here. Maybe turn off clang-format here?

Copy link
Collaborator

@tigercosmos tigercosmos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe it's better to remove this after one more release, but I am also fine to do it now.

@seladb
Copy link
Owner

seladb commented Oct 19, 2024

@WojtekMs I think we might want to remove this in future versions

@clementperon clementperon added the breaking change Pull request contains a breaking change to the public API. label Oct 19, 2024
@tigercosmos
Copy link
Collaborator

@WojtekMs I think we might want to remove this in future versions

@seladb I guess the next next release may be a proper timing?

@seladb
Copy link
Owner

seladb commented Oct 22, 2024

@WojtekMs I think we might want to remove this in future versions

@seladb I guess the next next release may be a proper timing?

Yes, I think so 👍

@WojtekMs
Copy link
Contributor Author

Okay, so for now, maybe I will close this PR?

@Dimi1010
Copy link
Collaborator

Okay, so for now, maybe I will close this PR?

I think its fine to keep it open, as a reminder.

@tigercosmos tigercosmos added this to the 25.09 Release milestone Oct 23, 2024
@tigercosmos
Copy link
Collaborator

I put it in the milestone, so we don't forget it.

@seladb
Copy link
Owner

seladb commented Oct 23, 2024

We can either leave it open or close it, I don't have a strong opinion

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change Pull request contains a breaking change to the public API. future release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants