We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug The fileHandle must be a datagram socket error thrown for AF_UNIX type Datagram socket.
The fileHandle must be a datagram socket
Virtualization framework provides support for Datagram socket of type AF_UNIX as well
To Reproduce Steps to reproduce the behavior:
vz.NewFileHandleNetworkDeviceAttachment(f) // f has a file descriptor which is a datagram socket of type AF_UNIX
Refer https://github.com/balajiv113/lima/blob/driver/pkg/vz/vz_driver.go#L132 for creating AF_UNIX based DATAGRAM socket
Expected behavior No error thrown.
Environment that you use to compile (please complete the following information):
Xcode 14.1, Build version 14B47b
ProductName: macOS ProductVersion: 13.0 BuildVersion: 22A380
x86_64
go version go1.19.2 darwin/amd64
Additional context This issue occurs due to the recently added validation of isInet check here
vz/network.go
Line 176 in c4f6e4b
The text was updated successfully, but these errors were encountered:
@balajiv113 Thanks for creating this issue! Nice catch 👍
Sorry, something went wrong.
fixed issue #98
ebcd76d
Merge pull request #100 from Code-Hex/fix/issue-98
18e6bd4
Successfully merging a pull request may close this issue.
Describe the bug
The fileHandle must be a datagram socket
error thrown for AF_UNIX type Datagram socket.Virtualization framework provides support for Datagram socket of type AF_UNIX as well
To Reproduce
Steps to reproduce the behavior:
Refer https://github.com/balajiv113/lima/blob/driver/pkg/vz/vz_driver.go#L132 for creating AF_UNIX based DATAGRAM socket
Expected behavior
No error thrown.
Environment that you use to compile (please complete the following information):
Xcode 14.1, Build version 14B47b
]ProductName: macOS ProductVersion: 13.0 BuildVersion: 22A380
]x86_64
]go version go1.19.2 darwin/amd64
]Additional context
This issue occurs due to the recently added validation of isInet check here
vz/network.go
Line 176 in c4f6e4b
The text was updated successfully, but these errors were encountered: