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

Use struct sockaddr_in6 for all addresses #1081

Merged
merged 1 commit into from
Oct 19, 2018
Merged

Commits on Oct 18, 2018

  1. Unify internal representation of TfwAddr, make it use sockaddr_in6

    Drops everything from the TfwAddr union, making it essentially an alias for
    struct sockaddr_in6. IPv4 addresses are converted to IPv4-mapped addresses
    at the parsing stage.
    
    Macros for log reporting with addresses of both IPv4 and IPv6 are unified.
    They got a new parameter controlling whenever ports should be reported too.
    i-rinat committed Oct 18, 2018
    Configuration menu
    Copy the full SHA
    1ba513b View commit details
    Browse the repository at this point in the history