-
Notifications
You must be signed in to change notification settings - Fork 63
Re #19 - Add the nat action to tc #20
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
Conversation
Please rebase, and solve the ci failure. |
Codecov Report
@@ Coverage Diff @@
## main #20 +/- ##
==========================================
- Coverage 46.53% 45.83% -0.70%
==========================================
Files 72 73 +1
Lines 5880 5969 +89
==========================================
Hits 2736 2736
- Misses 3144 3233 +89
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
c596602
to
6650f7f
Compare
Thanks for taking a look @wllenyj . I've rebased and fixed the formatting errors reported by CI. Will pay attention for additional failures in case I missed something. |
@cathay4t Do you have any comments? |
Please note, I added a builder method to the |
I have ammend the git commit message to include |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Besides removing TCA_NAT_MAX
and PAD, looks good to me.
I am not TC expert, I trust you know your territory
src/rtnl/tc/constants.rs
Outdated
pub const TCA_NAT_PAD: u16 = 3; | ||
pub const TCA_NAT_MAX: u16 = TCA_NAT_PAD; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove TCA_NAT_PAD
and TCA_NAT_MAX
.
The TCA_NAT_PAD
is unused anywhere. The TCA_NAT_MAX
is not constant to kernel but a internal variable might change in future release of linux kernel.
This has been delayed for a long time. Let me amend the patch by removing |
Signed-off-by: Erich Heine <erich@cloudflare.com>
Signed-off-by: Erich Heine <erich@cloudflare.com>
Apoligies, I lost track of that request. Thank you for taking care of it! |
No description provided.