Skip to content

net: Interface.Flags always 0 on Windows 8 #10530

@ffoebel

Description

@ffoebel

Go version: 1.4

The following code works on Windows 7:

package main
import "fmt"
import "net"
func main() {
    ifs, _ := net.Interfaces()
    for _, i := range ifs {
        fmt.Println(i.Flags)
    }
}

Tried both "run as administrator" and "compatibility mode" to see whether this was a side effect but never saw any flags when running on Windows 8.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions