Skip to content

Fix NOHOST flag on IPNetwork copy constructor#375

Merged
jstasiak merged 2 commits intonetaddr:masterfrom
claytonsingh:ipnetwork_nohost
Feb 20, 2024
Merged

Fix NOHOST flag on IPNetwork copy constructor#375
jstasiak merged 2 commits intonetaddr:masterfrom
claytonsingh:ipnetwork_nohost

Conversation

@claytonsingh
Copy link
Contributor

@claytonsingh claytonsingh commented Feb 19, 2024

Add tests for NOHOST flag
Fixes #374

@codecov-commenter
Copy link

codecov-commenter commented Feb 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (625a780) 85.72% compared to head (5ac11f6) 86.08%.
Report is 11 commits behind head on master.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #375      +/-   ##
==========================================
+ Coverage   85.72%   86.08%   +0.35%     
==========================================
  Files          47       47              
  Lines        4379     4384       +5     
  Branches      737      738       +1     
==========================================
+ Hits         3754     3774      +20     
+ Misses        449      434      -15     
  Partials      176      176              

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

@jstasiak jstasiak merged commit 2c89b34 into netaddr:master Feb 20, 2024
@jstasiak
Copy link
Contributor

Thank you

@jstasiak
Copy link
Contributor

Released in netaddr 1.3.0.

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.

IPNetwork ignores NOHOST when using copy constructor

3 participants