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?

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions