{"comment":{"url":"https://api.github.com/repos/klimkin/chihaya/comments/12161245","html_url":"https://github.com/klimkin/chihaya/commit/89d70c77ce514716823124075086c29d8bccdaab#commitcomment-12161245","id":12161245,"user":{"login":"klimkin","id":409053,"avatar_url":"https://avatars.githubusercontent.com/u/409053?v=3","gravatar_id":"","url":"https://api.github.com/users/klimkin","html_url":"https://github.com/klimkin","followers_url":"https://api.github.com/users/klimkin/followers","following_url":"https://api.github.com/users/klimkin/following{/other_user}","gists_url":"https://api.github.com/users/klimkin/gists{/gist_id}","starred_url":"https://api.github.com/users/klimkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klimkin/subscriptions","organizations_url":"https://api.github.com/users/klimkin/orgs","repos_url":"https://api.github.com/users/klimkin/repos","events_url":"https://api.github.com/users/klimkin/events{/privacy}","received_events_url":"https://api.github.com/users/klimkin/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":"","commit_id":"89d70c77ce514716823124075086c29d8bccdaab","created_at":"2015-07-14T17:35:54Z","updated_at":"2015-07-14T17:35:54Z","body":"Here is the code:\r\n\r\n    if cfg.DualStackedPeers {\r\n        done = ipv4 != nil && ipv6 != nil\r\n    } else {\r\n        done = ipv4 != nil || ipv6 != nil\r\n    }\r\n\r\nIf setting is `true`, both ipv4 and ipv6 are required. "}}