dont need to be TCP specific

This commit is contained in:
Naitik Shah 2013-10-06 11:25:24 -07:00
parent 09bc4c424a
commit f2bbd9297e

View File

@ -183,7 +183,7 @@ func Inherit() (listeners []Listener, err error) {
if err != nil {
return nil, err
}
l := tmp.(*net.TCPListener)
l := tmp.(Listener)
listeners = append(listeners, NewListener(l))
}
return