{"action":"created","comment":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/comments/37907970","id":37907970,"diff_hunk":"@@ -270,6 +270,10 @@ static void _netif_list(kernel_pid_t dev)\n             printf(\"6LO  \");\n         }\n         linebreak = true;\n+\n+        printf(\"Link type: %s  \", (entry->flags & GNRC_IPV6_NETIF_FLAGS_IS_WIRED) ?\n+                \"wired\" : \"wireless\");\n+        linebreak= true;","path":"sys/shell/commands/sc_netif.c","position":7,"original_position":7,"commit_id":"b4c87f92268d7b47b64ae0f54b9d01dba767d3c9","original_commit_id":"b4c87f92268d7b47b64ae0f54b9d01dba767d3c9","user":{"login":"authmillenon","id":675644,"avatar_url":"https://avatars.githubusercontent.com/u/675644?v=3","gravatar_id":"","url":"https://api.github.com/users/authmillenon","html_url":"https://github.com/authmillenon","followers_url":"https://api.github.com/users/authmillenon/followers","following_url":"https://api.github.com/users/authmillenon/following{/other_user}","gists_url":"https://api.github.com/users/authmillenon/gists{/gist_id}","starred_url":"https://api.github.com/users/authmillenon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/authmillenon/subscriptions","organizations_url":"https://api.github.com/users/authmillenon/orgs","repos_url":"https://api.github.com/users/authmillenon/repos","events_url":"https://api.github.com/users/authmillenon/events{/privacy}","received_events_url":"https://api.github.com/users/authmillenon/received_events","type":"User","site_admin":false},"body":"Just put it above https://github.com/RIOT-OS/RIOT/pull/3697/files#diff-ad63ecb056f596bac854115d8ccb46ebR300 e.g.","created_at":"2015-08-25T19:27:23Z","updated_at":"2015-08-25T19:27:23Z","html_url":"https://github.com/RIOT-OS/RIOT/pull/3697#discussion_r37907970","pull_request_url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/3697","_links":{"self":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/comments/37907970"},"html":{"href":"https://github.com/RIOT-OS/RIOT/pull/3697#discussion_r37907970"},"pull_request":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/3697"}}},"pull_request":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/3697","id":43130011,"html_url":"https://github.com/RIOT-OS/RIOT/pull/3697","diff_url":"https://github.com/RIOT-OS/RIOT/pull/3697.diff","patch_url":"https://github.com/RIOT-OS/RIOT/pull/3697.patch","issue_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/3697","number":3697,"state":"open","locked":false,"title":"gnrc: link-type flag","user":{"login":"OlegHahm","id":1590423,"avatar_url":"https://avatars.githubusercontent.com/u/1590423?v=3","gravatar_id":"","url":"https://api.github.com/users/OlegHahm","html_url":"https://github.com/OlegHahm","followers_url":"https://api.github.com/users/OlegHahm/followers","following_url":"https://api.github.com/users/OlegHahm/following{/other_user}","gists_url":"https://api.github.com/users/OlegHahm/gists{/gist_id}","starred_url":"https://api.github.com/users/OlegHahm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OlegHahm/subscriptions","organizations_url":"https://api.github.com/users/OlegHahm/orgs","repos_url":"https://api.github.com/users/OlegHahm/repos","events_url":"https://api.github.com/users/OlegHahm/events{/privacy}","received_events_url":"https://api.github.com/users/OlegHahm/received_events","type":"User","site_admin":false},"body":"Alternative to #3632.\r\n\r\nIntroduces a netopt type to indicate a wired link. To save code-lines for the default case (aka wireless tranceivers) a non-wired interface can just return `-ENOTSUP`. A corresponding flag is set on an IPv6 interface.","created_at":"2015-08-23T22:28:08Z","updated_at":"2015-08-25T19:27:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"281f05d7a4e993c7d25ce2da8741b339dd62215a","assignee":{"login":"authmillenon","id":675644,"avatar_url":"https://avatars.githubusercontent.com/u/675644?v=3","gravatar_id":"","url":"https://api.github.com/users/authmillenon","html_url":"https://github.com/authmillenon","followers_url":"https://api.github.com/users/authmillenon/followers","following_url":"https://api.github.com/users/authmillenon/following{/other_user}","gists_url":"https://api.github.com/users/authmillenon/gists{/gist_id}","starred_url":"https://api.github.com/users/authmillenon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/authmillenon/subscriptions","organizations_url":"https://api.github.com/users/authmillenon/orgs","repos_url":"https://api.github.com/users/authmillenon/repos","events_url":"https://api.github.com/users/authmillenon/events{/privacy}","received_events_url":"https://api.github.com/users/authmillenon/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/3697/commits","review_comments_url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/3697/comments","review_comment_url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/comments{/number}","comments_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/3697/comments","statuses_url":"https://api.github.com/repos/RIOT-OS/RIOT/statuses/b4c87f92268d7b47b64ae0f54b9d01dba767d3c9","head":{"label":"OlegHahm:netopt_wireless_ro","ref":"netopt_wireless_ro","sha":"b4c87f92268d7b47b64ae0f54b9d01dba767d3c9","user":{"login":"OlegHahm","id":1590423,"avatar_url":"https://avatars.githubusercontent.com/u/1590423?v=3","gravatar_id":"","url":"https://api.github.com/users/OlegHahm","html_url":"https://github.com/OlegHahm","followers_url":"https://api.github.com/users/OlegHahm/followers","following_url":"https://api.github.com/users/OlegHahm/following{/other_user}","gists_url":"https://api.github.com/users/OlegHahm/gists{/gist_id}","starred_url":"https://api.github.com/users/OlegHahm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OlegHahm/subscriptions","organizations_url":"https://api.github.com/users/OlegHahm/orgs","repos_url":"https://api.github.com/users/OlegHahm/repos","events_url":"https://api.github.com/users/OlegHahm/events{/privacy}","received_events_url":"https://api.github.com/users/OlegHahm/received_events","type":"User","site_admin":false},"repo":{"id":10973192,"name":"RIOT","full_name":"OlegHahm/RIOT","owner":{"login":"OlegHahm","id":1590423,"avatar_url":"https://avatars.githubusercontent.com/u/1590423?v=3","gravatar_id":"","url":"https://api.github.com/users/OlegHahm","html_url":"https://github.com/OlegHahm","followers_url":"https://api.github.com/users/OlegHahm/followers","following_url":"https://api.github.com/users/OlegHahm/following{/other_user}","gists_url":"https://api.github.com/users/OlegHahm/gists{/gist_id}","starred_url":"https://api.github.com/users/OlegHahm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OlegHahm/subscriptions","organizations_url":"https://api.github.com/users/OlegHahm/orgs","repos_url":"https://api.github.com/users/OlegHahm/repos","events_url":"https://api.github.com/users/OlegHahm/events{/privacy}","received_events_url":"https://api.github.com/users/OlegHahm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/OlegHahm/RIOT","description":"RIOT OS -  The ridiculous OS for the IoT","fork":true,"url":"https://api.github.com/repos/OlegHahm/RIOT","forks_url":"https://api.github.com/repos/OlegHahm/RIOT/forks","keys_url":"https://api.github.com/repos/OlegHahm/RIOT/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OlegHahm/RIOT/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OlegHahm/RIOT/teams","hooks_url":"https://api.github.com/repos/OlegHahm/RIOT/hooks","issue_events_url":"https://api.github.com/repos/OlegHahm/RIOT/issues/events{/number}","events_url":"https://api.github.com/repos/OlegHahm/RIOT/events","assignees_url":"https://api.github.com/repos/OlegHahm/RIOT/assignees{/user}","branches_url":"https://api.github.com/repos/OlegHahm/RIOT/branches{/branch}","tags_url":"https://api.github.com/repos/OlegHahm/RIOT/tags","blobs_url":"https://api.github.com/repos/OlegHahm/RIOT/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OlegHahm/RIOT/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OlegHahm/RIOT/git/refs{/sha}","trees_url":"https://api.github.com/repos/OlegHahm/RIOT/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OlegHahm/RIOT/statuses/{sha}","languages_url":"https://api.github.com/repos/OlegHahm/RIOT/languages","stargazers_url":"https://api.github.com/repos/OlegHahm/RIOT/stargazers","contributors_url":"https://api.github.com/repos/OlegHahm/RIOT/contributors","subscribers_url":"https://api.github.com/repos/OlegHahm/RIOT/subscribers","subscription_url":"https://api.github.com/repos/OlegHahm/RIOT/subscription","commits_url":"https://api.github.com/repos/OlegHahm/RIOT/commits{/sha}","git_commits_url":"https://api.github.com/repos/OlegHahm/RIOT/git/commits{/sha}","comments_url":"https://api.github.com/repos/OlegHahm/RIOT/comments{/number}","issue_comment_url":"https://api.github.com/repos/OlegHahm/RIOT/issues/comments{/number}","contents_url":"https://api.github.com/repos/OlegHahm/RIOT/contents/{+path}","compare_url":"https://api.github.com/repos/OlegHahm/RIOT/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OlegHahm/RIOT/merges","archive_url":"https://api.github.com/repos/OlegHahm/RIOT/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OlegHahm/RIOT/downloads","issues_url":"https://api.github.com/repos/OlegHahm/RIOT/issues{/number}","pulls_url":"https://api.github.com/repos/OlegHahm/RIOT/pulls{/number}","milestones_url":"https://api.github.com/repos/OlegHahm/RIOT/milestones{/number}","notifications_url":"https://api.github.com/repos/OlegHahm/RIOT/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OlegHahm/RIOT/labels{/name}","releases_url":"https://api.github.com/repos/OlegHahm/RIOT/releases{/id}","created_at":"2013-06-26T16:32:09Z","updated_at":"2015-05-21T21:29:09Z","pushed_at":"2015-08-25T19:24:45Z","git_url":"git://github.com/OlegHahm/RIOT.git","ssh_url":"git@github.com:OlegHahm/RIOT.git","clone_url":"https://github.com/OlegHahm/RIOT.git","svn_url":"https://github.com/OlegHahm/RIOT","homepage":"https://github.com/RIOT-OS/RIOT/wiki","size":24183,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"RIOT-OS:master","ref":"master","sha":"85180ca2c94e833f5d42494a16c013ab846c10b8","user":{"login":"RIOT-OS","id":3079480,"avatar_url":"https://avatars.githubusercontent.com/u/3079480?v=3","gravatar_id":"","url":"https://api.github.com/users/RIOT-OS","html_url":"https://github.com/RIOT-OS","followers_url":"https://api.github.com/users/RIOT-OS/followers","following_url":"https://api.github.com/users/RIOT-OS/following{/other_user}","gists_url":"https://api.github.com/users/RIOT-OS/gists{/gist_id}","starred_url":"https://api.github.com/users/RIOT-OS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RIOT-OS/subscriptions","organizations_url":"https://api.github.com/users/RIOT-OS/orgs","repos_url":"https://api.github.com/users/RIOT-OS/repos","events_url":"https://api.github.com/users/RIOT-OS/events{/privacy}","received_events_url":"https://api.github.com/users/RIOT-OS/received_events","type":"Organization","site_admin":false},"repo":{"id":7370241,"name":"RIOT","full_name":"RIOT-OS/RIOT","owner":{"login":"RIOT-OS","id":3079480,"avatar_url":"https://avatars.githubusercontent.com/u/3079480?v=3","gravatar_id":"","url":"https://api.github.com/users/RIOT-OS","html_url":"https://github.com/RIOT-OS","followers_url":"https://api.github.com/users/RIOT-OS/followers","following_url":"https://api.github.com/users/RIOT-OS/following{/other_user}","gists_url":"https://api.github.com/users/RIOT-OS/gists{/gist_id}","starred_url":"https://api.github.com/users/RIOT-OS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RIOT-OS/subscriptions","organizations_url":"https://api.github.com/users/RIOT-OS/orgs","repos_url":"https://api.github.com/users/RIOT-OS/repos","events_url":"https://api.github.com/users/RIOT-OS/events{/privacy}","received_events_url":"https://api.github.com/users/RIOT-OS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/RIOT-OS/RIOT","description":"RIOT -  The friendly OS for IoT","fork":false,"url":"https://api.github.com/repos/RIOT-OS/RIOT","forks_url":"https://api.github.com/repos/RIOT-OS/RIOT/forks","keys_url":"https://api.github.com/repos/RIOT-OS/RIOT/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RIOT-OS/RIOT/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RIOT-OS/RIOT/teams","hooks_url":"https://api.github.com/repos/RIOT-OS/RIOT/hooks","issue_events_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/events{/number}","events_url":"https://api.github.com/repos/RIOT-OS/RIOT/events","assignees_url":"https://api.github.com/repos/RIOT-OS/RIOT/assignees{/user}","branches_url":"https://api.github.com/repos/RIOT-OS/RIOT/branches{/branch}","tags_url":"https://api.github.com/repos/RIOT-OS/RIOT/tags","blobs_url":"https://api.github.com/repos/RIOT-OS/RIOT/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RIOT-OS/RIOT/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RIOT-OS/RIOT/git/refs{/sha}","trees_url":"https://api.github.com/repos/RIOT-OS/RIOT/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RIOT-OS/RIOT/statuses/{sha}","languages_url":"https://api.github.com/repos/RIOT-OS/RIOT/languages","stargazers_url":"https://api.github.com/repos/RIOT-OS/RIOT/stargazers","contributors_url":"https://api.github.com/repos/RIOT-OS/RIOT/contributors","subscribers_url":"https://api.github.com/repos/RIOT-OS/RIOT/subscribers","subscription_url":"https://api.github.com/repos/RIOT-OS/RIOT/subscription","commits_url":"https://api.github.com/repos/RIOT-OS/RIOT/commits{/sha}","git_commits_url":"https://api.github.com/repos/RIOT-OS/RIOT/git/commits{/sha}","comments_url":"https://api.github.com/repos/RIOT-OS/RIOT/comments{/number}","issue_comment_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/comments{/number}","contents_url":"https://api.github.com/repos/RIOT-OS/RIOT/contents/{+path}","compare_url":"https://api.github.com/repos/RIOT-OS/RIOT/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RIOT-OS/RIOT/merges","archive_url":"https://api.github.com/repos/RIOT-OS/RIOT/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RIOT-OS/RIOT/downloads","issues_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues{/number}","pulls_url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls{/number}","milestones_url":"https://api.github.com/repos/RIOT-OS/RIOT/milestones{/number}","notifications_url":"https://api.github.com/repos/RIOT-OS/RIOT/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RIOT-OS/RIOT/labels{/name}","releases_url":"https://api.github.com/repos/RIOT-OS/RIOT/releases{/id}","created_at":"2012-12-29T20:38:40Z","updated_at":"2015-08-25T07:28:18Z","pushed_at":"2015-08-25T19:24:46Z","git_url":"git://github.com/RIOT-OS/RIOT.git","ssh_url":"git@github.com:RIOT-OS/RIOT.git","clone_url":"https://github.com/RIOT-OS/RIOT.git","svn_url":"https://github.com/RIOT-OS/RIOT","homepage":"https://github.com/RIOT-OS/RIOT/wiki","size":125053,"stargazers_count":473,"watchers_count":473,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":365,"mirror_url":null,"open_issues_count":354,"forks":365,"open_issues":354,"watchers":473,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/3697"},"html":{"href":"https://github.com/RIOT-OS/RIOT/pull/3697"},"issue":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/issues/3697"},"comments":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/issues/3697/comments"},"review_comments":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/3697/comments"},"review_comment":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/3697/commits"},"statuses":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/statuses/b4c87f92268d7b47b64ae0f54b9d01dba767d3c9"}}}}