Skip to content

Question, is index 0 always default interface? #3

Description

@7c

given this example:

var data = await getInterfaces()
        names = Object.keys(data);
        console.log(os.networkInterfaces()[names[0]]);

is the interface with index 0 always the default route interface?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions