mirror of
https://github.com/MatsuriDayo/nekoray.git
synced 2025-12-18 04:54:38 +03:00
fix
This commit is contained in:
@@ -72,6 +72,7 @@ func ServeProtect(path string, fwmark int) {
|
||||
log.Println("getOneFd:", err)
|
||||
return
|
||||
}
|
||||
defer syscall.Close(fd)
|
||||
|
||||
if err := syscall.SetsockoptInt(int(fd), syscall.SOL_SOCKET, syscall.SO_MARK, fwmark); err != nil {
|
||||
log.Println("syscall.SetsockoptInt:", err)
|
||||
|
||||
Reference in New Issue
Block a user