🧹 Fix typo

pull/601/head
Fenny 2020-07-14 14:13:57 +02:00
parent d3dd32d9d1
commit 0429ac32d9
1 changed files with 2 additions and 2 deletions

4
app.go
View File

@ -490,8 +490,8 @@ func (app *App) Listen(address interface{}, tlsconfig ...*tls.Config) error {
app.init()
// Start prefork
if app.Settings.Prefork {
if app.Settings.Network == "ipv6" || isIPv6(addr) {
log.Fatal("prefork does not support the ipv6 network")
if app.Settings.Network == "tcp6" || isIPv6(addr) {
log.Fatal("prefork does not support tcp6 networking")
}
return app.prefork(addr, tlsconfig...)
}