Skip to content

Support for IPv6 is now mandatory#913

Merged
pstorz merged 2 commits intomasterfrom
dev/pstorz/master/remove-support-for-non-ipv6-os
Sep 28, 2021
Merged

Support for IPv6 is now mandatory#913
pstorz merged 2 commits intomasterfrom
dev/pstorz/master/remove-support-for-non-ipv6-os

Conversation

@pstorz
Copy link
Member

@pstorz pstorz commented Aug 20, 2021

Thank you for contributing to the Bareos Project!

The bareos code was still able to be compiled for an OS that has no support vor IPv6.
As today all supported OS have support for IPv6, this code is removed with this PR.

Please check

  • Short description and the purpose of this PR is present above this paragraph
  • Your name is present in the AUTHORS file (optional)

If you have any questions or problems, please give a comment in the PR.

Helpful documentation and best practices

Checklist for the reviewer of the PR (will be processed by the Bareos team)

General
  • PR name is meaningful
  • Purpose of the PR is understood
  • Separate commit for this PR in the CHANGELOG.md, PR number referenced is same
  • Commit descriptions are understandable and well formatted
Source code quality
  • Source code changes are understandable
  • Variable and function names are meaningful
  • Code comments are correct (logically and spelling)
  • Required documentation changes are present and part of the PR
  • bareos-check-sources --since-merge does not report any problems
  • git status should not report modifications in the source tree after building and testing

@pstorz pstorz changed the title Dev/pstorz/master/remove support for non ipv6 os remove support for non ipv4-only build Aug 20, 2021
@arogge arogge self-assigned this Sep 23, 2021
Copy link
Member

@arogge arogge left a comment

Choose a reason for hiding this comment

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

Good improvement, especially as this remove a lot of really ugly #ifdef.

@pstorz pstorz force-pushed the dev/pstorz/master/remove-support-for-non-ipv6-os branch 2 times, most recently from 3c40e06 to 36991fa Compare September 24, 2021 17:02
@arogge arogge changed the title remove support for non ipv4-only build Support for IPv6 is now mandatory Sep 27, 2021
As all supported operating systems support IPv6, we remove  support for
OS that do not support IPv6.

- removed macro "HAVE_IPV6"
- removed all code that is built when "HAVE_IPV6" is undefined
- removed cmake switch "ipv6"
@arogge arogge force-pushed the dev/pstorz/master/remove-support-for-non-ipv6-os branch from 1f9ce67 to d9dc247 Compare September 28, 2021 09:49
Copy link
Member

@arogge arogge left a comment

Choose a reason for hiding this comment

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

I removed yet another #ifdef that was introduced by another PR and applied fixes from bareos-check-sources.
From my POV this can be merged now.

@pstorz pstorz merged commit c9d75e0 into master Sep 28, 2021
@pstorz pstorz deleted the dev/pstorz/master/remove-support-for-non-ipv6-os branch September 28, 2021 10:08
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.

2 participants