diff --git a/client/internal/routemanager/systemops/systemops_unix.go b/client/internal/routemanager/systemops/systemops_unix.go index 5cca0c8c8..0c4e7b39d 100644 --- a/client/internal/routemanager/systemops/systemops_unix.go +++ b/client/internal/routemanager/systemops/systemops_unix.go @@ -241,7 +241,7 @@ func (r *SysOps) parseRouteResponse(buf []byte) error { rtMsg := (*unix.RtMsghdr)(unsafe.Pointer(&buf[0])) if rtMsg.Errno != 0 { - return fmt.Errorf("parse: %d", rtMsg.Errno) + return fmt.Errorf("route socket: %w", syscall.Errno(rtMsg.Errno)) } return nil