Skip to content

Parse /proc/net/route to find default route + outgoing iface #40

@pietern

Description

@pietern

Do this instead of assuming hostname(2) is resolvable. This is typically not the case on people's custom Ubuntu installs and whatnot. We keep the API the same but just change the default behavior.

See the default path in gloo::transport::tcp::CreateDevice (https://github.com/facebookincubator/gloo/blob/master/gloo/transport/tcp/device.cc#L36-L42).

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