1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-01-02 23:47:07 -05:00

KCP: style

This commit is contained in:
Shelikhoo 2016-06-13 16:34:35 +08:00
parent 14623e6fa4
commit bcf87d1592
No known key found for this signature in database
GPG Key ID: 7791BDB0709ABD21

View File

@ -66,9 +66,11 @@ func (kvl *KCPVlistener) Accept() (net.Conn, error) {
} }
return kcv, nil return kcv, nil
} }
func (kvl *KCPVlistener) Close() error { func (kvl *KCPVlistener) Close() error {
return kvl.lst.Close() return kvl.lst.Close()
} }
func (kvl *KCPVlistener) Addr() net.Addr { func (kvl *KCPVlistener) Addr() net.Addr {
return kvl.lst.Addr() return kvl.lst.Addr()
} }