From e747cf8704859ab9d55772b716754c8fe4e880ad Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Thu, 31 May 2018 19:58:33 +0200 Subject: [PATCH] Adapt to the new systemd API --- dnscrypt-proxy/systemd_linux.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dnscrypt-proxy/systemd_linux.go b/dnscrypt-proxy/systemd_linux.go index 43985409..5fc561ad 100644 --- a/dnscrypt-proxy/systemd_linux.go +++ b/dnscrypt-proxy/systemd_linux.go @@ -9,7 +9,7 @@ import ( ) func (proxy *Proxy) SystemDListeners() error { - listeners, err := activation.Listeners(false) + listeners, err := activation.Listeners() if err == nil && len(listeners) > 0 { for i, listener := range listeners { if listener != nil { @@ -18,7 +18,7 @@ func (proxy *Proxy) SystemDListeners() error { } } } - packetConns, err := activation.PacketConns(false) + packetConns, err := activation.PacketConns() if err == nil && len(packetConns) > 0 { for i, packetConn := range packetConns { if packetConn != nil {