x/net/route: ParseRIB fail to parse utun up InterfaceMessage #71064
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Go version
go version go1.22.6 darwin/amd64
Output of
go env
in your module/workspace:What did you do?
try parse message from AF_ROUTE socket.
unix.Socket(unix.AF_ROUTE, unix.SOCK_RAW, unix.AF_UNSPEC)
msgs, err := route.ParseRIB(route.RIBTypeRoute, data[:n])
What did you see happen?
ParseRIB skip Interface message that indicate utun interface up
since no RTA_IFP flag
not sure if it is intended
What did you expect to see?
should return InterfaceMessage with Index and flags?
The text was updated successfully, but these errors were encountered: