add dummy functions for other platforms

This commit is contained in:
Arceliar 2019-10-25 19:32:53 -05:00
parent bcacfb0638
commit 710815fed5
4 changed files with 10 additions and 2 deletions

View file

@ -26,3 +26,7 @@ func (t *tcp) tcpContext(network, address string, c syscall.RawConn) error {
return control
}
}
func (t *tcp) getControl(sintf string) func(string, string, syscall.RawConn) error {
return t.tcpContext
}