{"action":"created","issue":{"url":"https://api.github.com/repos/nix-rust/nix/issues/329","repository_url":"https://api.github.com/repos/nix-rust/nix","labels_url":"https://api.github.com/repos/nix-rust/nix/issues/329/labels{/name}","comments_url":"https://api.github.com/repos/nix-rust/nix/issues/329/comments","events_url":"https://api.github.com/repos/nix-rust/nix/issues/329/events","html_url":"https://github.com/nix-rust/nix/issues/329","id":142752323,"number":329,"title":"nix::sys::socket::InetAddr::from_std ignores sin6_flowinfo and sin6_scope_id","user":{"login":"misuzu","id":248143,"avatar_url":"https://avatars.githubusercontent.com/u/248143?v=3","gravatar_id":"","url":"https://api.github.com/users/misuzu","html_url":"https://github.com/misuzu","followers_url":"https://api.github.com/users/misuzu/followers","following_url":"https://api.github.com/users/misuzu/following{/other_user}","gists_url":"https://api.github.com/users/misuzu/gists{/gist_id}","starred_url":"https://api.github.com/users/misuzu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/misuzu/subscriptions","organizations_url":"https://api.github.com/users/misuzu/orgs","repos_url":"https://api.github.com/users/misuzu/repos","events_url":"https://api.github.com/users/misuzu/events{/privacy}","received_events_url":"https://api.github.com/users/misuzu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-22T19:23:07Z","updated_at":"2016-03-29T08:29:14Z","closed_at":null,"body":"sin6_flowinfo and sin6_scope_id is essential for link-local addresses.\r\nRelated: carllerche/mio#376"},"comment":{"url":"https://api.github.com/repos/nix-rust/nix/issues/comments/202776519","html_url":"https://github.com/nix-rust/nix/issues/329#issuecomment-202776519","issue_url":"https://api.github.com/repos/nix-rust/nix/issues/329","id":202776519,"user":{"login":"misuzu","id":248143,"avatar_url":"https://avatars.githubusercontent.com/u/248143?v=3","gravatar_id":"","url":"https://api.github.com/users/misuzu","html_url":"https://github.com/misuzu","followers_url":"https://api.github.com/users/misuzu/followers","following_url":"https://api.github.com/users/misuzu/following{/other_user}","gists_url":"https://api.github.com/users/misuzu/gists{/gist_id}","starred_url":"https://api.github.com/users/misuzu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/misuzu/subscriptions","organizations_url":"https://api.github.com/users/misuzu/orgs","repos_url":"https://api.github.com/users/misuzu/repos","events_url":"https://api.github.com/users/misuzu/events{/privacy}","received_events_url":"https://api.github.com/users/misuzu/received_events","type":"User","site_admin":false},"created_at":"2016-03-29T08:29:13Z","updated_at":"2016-03-29T08:29:13Z","body":"@kamalmarhubi \r\nSocketAddrV6 have flowinfo and scope_id: https://doc.rust-lang.org/std/net/struct.SocketAddrV6.html\r\nInetAddr::from_std only uses address and port so flowinfo and scope_id is lost after conversion: https://github.com/nix-rust/nix/blob/master/src/sys/socket/addr.rs#L44\r\nThere is also no way to manually create InetAddr with flowinfo and scope_id."}}