diff options
Diffstat (limited to 'internal')
-rw-r--r-- | internal/listenfd/listenfd.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/listenfd/listenfd.go b/internal/listenfd/listenfd.go index 72259aa..651c245 100644 --- a/internal/listenfd/listenfd.go +++ b/internal/listenfd/listenfd.go @@ -13,7 +13,7 @@ import ( const fdStart = 3 func GetListener(i uint64, addr string) (l net.Listener, err error) { - l, err = getFDSocket(0) + l, err = getFDSocket(i) if err != nil { log.Warn("could not create listener from listenfd", "error", err) } |