mirror of
https://github.com/soypat/lneto.git
synced 2026-08-21 06:59:04 +00:00
mega refactor internet.TCPConn->tcp.Conn
This commit is contained in:
@@ -164,7 +164,7 @@ func (sb *StackIP) Register(h StackNode) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (sb *StackIP) RegisterTCPConn(conn *TCPConn) error {
|
||||
func (sb *StackIP) RegisterTCPConn(conn *tcp.Conn) error {
|
||||
if conn.LocalPort() == 0 {
|
||||
return errZeroPort
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user