diff options
| author | Dan Peterson <dpiddy@gmail.com> | 2016-09-15 17:24:42 -0300 |
|---|---|---|
| committer | Matthew Dempsky <mdempsky@google.com> | 2016-09-17 00:34:19 +0000 |
| commit | a1bf203b57ab854f2c1b7668ae96bc34e60e02fc (patch) | |
| tree | 662a0e5b8a3be9c43a31b07fd03c75620621cc5f /src/plugin/plugin_dlopen.go | |
| parent | f7e49f6644bde3f17b4a795218a35876347455a1 (diff) | |
| download | go-a1bf203b57ab854f2c1b7668ae96bc34e60e02fc.tar.xz | |
net: respect resolv.conf rotate option
Instead of ranging over servers in the config, grab an offset
from the config that is used to determine indices.
When the rotate option is enabled, the offset increases which
rotates queries through servers. Otherwise, it is always 0
which uses servers in config order.
Fixes #17126
Change-Id: If233f6de7bfa42f88570055b9ab631be08a76b3e
Reviewed-on: https://go-review.googlesource.com/29233
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Diffstat (limited to 'src/plugin/plugin_dlopen.go')
0 files changed, 0 insertions, 0 deletions
