Skip to content

Remove ipv4 only compile flag  #61

@mjrider

Description

@mjrider

Current the code is default compiled in ipv4 only mode, and ipv6 is a feature that needs to be enabled on compile time

Assumption: Assume every modern os supports ipv6 and ipv4 only mode is no longer needed

Proposal:

  • Remove all the ifdef checks on INET6, and delete the case when the code is compiled ipv4 only mode
  • adapt configure.in that it fails if inet6 is not available or just remove the check completely everywhere

this remove 2 issues:

  • opers make the mistake to create an oper without ipv6 support
  • a chunk of code which is useless, makes the code easier to maintain or tested when new code is added that it still is running in ipv6 less systems

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions