From a50a360a913d2c765637ecf4936fec00ceea51fe Mon Sep 17 00:00:00 2001 From: bigeagle Date: Fri, 8 Sep 2017 00:12:40 +0800 Subject: [PATCH] Revert "feat(worker): add '-4' option to rsync when 'use_ipv6' is false" This reverts commit d536aca2ac42e74a0902546d28b7de0e7f639195. --- worker/rsync_provider.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/worker/rsync_provider.go b/worker/rsync_provider.go index 8009714..aafd761 100644 --- a/worker/rsync_provider.go +++ b/worker/rsync_provider.go @@ -49,8 +49,6 @@ func newRsyncProvider(c rsyncConfig) (*rsyncProvider, error) { if c.useIPv6 { options = append(options, "-6") - } else { - options = append(options, "-4") } if c.excludeFile != "" {