{"action":"closed","number":1487,"pull_request":{"url":"https://api.github.com/repos/jsk-ros-pkg/jsk_common/pulls/1487","id":95081137,"html_url":"https://github.com/jsk-ros-pkg/jsk_common/pull/1487","diff_url":"https://github.com/jsk-ros-pkg/jsk_common/pull/1487.diff","patch_url":"https://github.com/jsk-ros-pkg/jsk_common/pull/1487.patch","issue_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_common/issues/1487","number":1487,"state":"closed","locked":false,"title":"[jsk_tools][99.jsk_tools.sh] fix: issue #1472","user":{"login":"furushchev","id":1901008,"avatar_url":"https://avatars.githubusercontent.com/u/1901008?v=3","gravatar_id":"","url":"https://api.github.com/users/furushchev","html_url":"https://github.com/furushchev","followers_url":"https://api.github.com/users/furushchev/followers","following_url":"https://api.github.com/users/furushchev/following{/other_user}","gists_url":"https://api.github.com/users/furushchev/gists{/gist_id}","starred_url":"https://api.github.com/users/furushchev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/furushchev/subscriptions","organizations_url":"https://api.github.com/users/furushchev/orgs","repos_url":"https://api.github.com/users/furushchev/repos","events_url":"https://api.github.com/users/furushchev/events{/privacy}","received_events_url":"https://api.github.com/users/furushchev/received_events","type":"User","site_admin":false},"body":"we can get self ip address which is used to access to specified ip (host ip) by:\r\n\r\n```bash\r\n$ ip -o -4 route get <host ip>\r\n<host ip> via <gateway> dev wlan0  src <ip address>\r\n```\r\n\r\nhowever, if host ip is equal to self, prefix `local` is appended.\r\n\r\n```bash\r\n$ ip -o -4 route get <my ip>\r\nlocal <my ip> via <gateway> dev wlan0  src <my ip>\r\n```\r\n\r\nI fixed to use `sed` to parse `src` ip address.","created_at":"2016-11-23T21:19:57Z","updated_at":"2016-11-28T04:04:19Z","closed_at":"2016-11-28T04:04:19Z","merged_at":"2016-11-28T04:04:19Z","merge_commit_sha":"2805e7fe819d26d107647b1eb33cd58cf4d73cfb","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_common/pulls/1487/commits","review_comments_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_common/pulls/1487/comments","review_comment_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_common/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_common/issues/1487/comments","statuses_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_common/statuses/804b2d6881094f40c97d5e3dc2c89c7e04a848fe","head":{"label":"furushchev:ip2","ref":"ip2","sha":"804b2d6881094f40c97d5e3dc2c89c7e04a848fe","user":{"login":"furushchev","id":1901008,"avatar_url":"https://avatars.githubusercontent.com/u/1901008?v=3","gravatar_id":"","url":"https://api.github.com/users/furushchev","html_url":"https://github.com/furushchev","followers_url":"https://api.github.com/users/furushchev/followers","following_url":"https://api.github.com/users/furushchev/following{/other_user}","gists_url":"https://api.github.com/users/furushchev/gists{/gist_id}","starred_url":"https://api.github.com/users/furushchev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/furushchev/subscriptions","organizations_url":"https://api.github.com/users/furushchev/orgs","repos_url":"https://api.github.com/users/furushchev/repos","events_url":"https://api.github.com/users/furushchev/events{/privacy}","received_events_url":"https://api.github.com/users/furushchev/received_events","type":"User","site_admin":false},"repo":{"id":26162033,"name":"jsk_common","full_name":"furushchev/jsk_common","owner":{"login":"furushchev","id":1901008,"avatar_url":"https://avatars.githubusercontent.com/u/1901008?v=3","gravatar_id":"","url":"https://api.github.com/users/furushchev","html_url":"https://github.com/furushchev","followers_url":"https://api.github.com/users/furushchev/followers","following_url":"https://api.github.com/users/furushchev/following{/other_user}","gists_url":"https://api.github.com/users/furushchev/gists{/gist_id}","starred_url":"https://api.github.com/users/furushchev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/furushchev/subscriptions","organizations_url":"https://api.github.com/users/furushchev/orgs","repos_url":"https://api.github.com/users/furushchev/repos","events_url":"https://api.github.com/users/furushchev/events{/privacy}","received_events_url":"https://api.github.com/users/furushchev/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/furushchev/jsk_common","description":"common programs for jsk-ros-pkg","fork":true,"url":"https://api.github.com/repos/furushchev/jsk_common","forks_url":"https://api.github.com/repos/furushchev/jsk_common/forks","keys_url":"https://api.github.com/repos/furushchev/jsk_common/keys{/key_id}","collaborators_url":"https://api.github.com/repos/furushchev/jsk_common/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/furushchev/jsk_common/teams","hooks_url":"https://api.github.com/repos/furushchev/jsk_common/hooks","issue_events_url":"https://api.github.com/repos/furushchev/jsk_common/issues/events{/number}","events_url":"https://api.github.com/repos/furushchev/jsk_common/events","assignees_url":"https://api.github.com/repos/furushchev/jsk_common/assignees{/user}","branches_url":"https://api.github.com/repos/furushchev/jsk_common/branches{/branch}","tags_url":"https://api.github.com/repos/furushchev/jsk_common/tags","blobs_url":"https://api.github.com/repos/furushchev/jsk_common/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/furushchev/jsk_common/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/furushchev/jsk_common/git/refs{/sha}","trees_url":"https://api.github.com/repos/furushchev/jsk_common/git/trees{/sha}","statuses_url":"https://api.github.com/repos/furushchev/jsk_common/statuses/{sha}","languages_url":"https://api.github.com/repos/furushchev/jsk_common/languages","stargazers_url":"https://api.github.com/repos/furushchev/jsk_common/stargazers","contributors_url":"https://api.github.com/repos/furushchev/jsk_common/contributors","subscribers_url":"https://api.github.com/repos/furushchev/jsk_common/subscribers","subscription_url":"https://api.github.com/repos/furushchev/jsk_common/subscription","commits_url":"https://api.github.com/repos/furushchev/jsk_common/commits{/sha}","git_commits_url":"https://api.github.com/repos/furushchev/jsk_common/git/commits{/sha}","comments_url":"https://api.github.com/repos/furushchev/jsk_common/comments{/number}","issue_comment_url":"https://api.github.com/repos/furushchev/jsk_common/issues/comments{/number}","contents_url":"https://api.github.com/repos/furushchev/jsk_common/contents/{+path}","compare_url":"https://api.github.com/repos/furushchev/jsk_common/compare/{base}...{head}","merges_url":"https://api.github.com/repos/furushchev/jsk_common/merges","archive_url":"https://api.github.com/repos/furushchev/jsk_common/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/furushchev/jsk_common/downloads","issues_url":"https://api.github.com/repos/furushchev/jsk_common/issues{/number}","pulls_url":"https://api.github.com/repos/furushchev/jsk_common/pulls{/number}","milestones_url":"https://api.github.com/repos/furushchev/jsk_common/milestones{/number}","notifications_url":"https://api.github.com/repos/furushchev/jsk_common/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/furushchev/jsk_common/labels{/name}","releases_url":"https://api.github.com/repos/furushchev/jsk_common/releases{/id}","deployments_url":"https://api.github.com/repos/furushchev/jsk_common/deployments","created_at":"2014-11-04T09:29:19Z","updated_at":"2014-09-04T10:45:21Z","pushed_at":"2016-11-23T21:14:50Z","git_url":"git://github.com/furushchev/jsk_common.git","ssh_url":"git@github.com:furushchev/jsk_common.git","clone_url":"https://github.com/furushchev/jsk_common.git","svn_url":"https://github.com/furushchev/jsk_common","homepage":"","size":19783,"stargazers_count":0,"watchers_count":0,"language":null,"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":"jsk-ros-pkg:master","ref":"master","sha":"82e3dd7dba25dd40e89a3dcf9aae934eb7fab47b","user":{"login":"jsk-ros-pkg","id":6836654,"avatar_url":"https://avatars.githubusercontent.com/u/6836654?v=3","gravatar_id":"","url":"https://api.github.com/users/jsk-ros-pkg","html_url":"https://github.com/jsk-ros-pkg","followers_url":"https://api.github.com/users/jsk-ros-pkg/followers","following_url":"https://api.github.com/users/jsk-ros-pkg/following{/other_user}","gists_url":"https://api.github.com/users/jsk-ros-pkg/gists{/gist_id}","starred_url":"https://api.github.com/users/jsk-ros-pkg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsk-ros-pkg/subscriptions","organizations_url":"https://api.github.com/users/jsk-ros-pkg/orgs","repos_url":"https://api.github.com/users/jsk-ros-pkg/repos","events_url":"https://api.github.com/users/jsk-ros-pkg/events{/privacy}","received_events_url":"https://api.github.com/users/jsk-ros-pkg/received_events","type":"Organization","site_admin":false},"repo":{"id":17374588,"name":"jsk_common","full_name":"jsk-ros-pkg/jsk_common","owner":{"login":"jsk-ros-pkg","id":6836654,"avatar_url":"https://avatars.githubusercontent.com/u/6836654?v=3","gravatar_id":"","url":"https://api.github.com/users/jsk-ros-pkg","html_url":"https://github.com/jsk-ros-pkg","followers_url":"https://api.github.com/users/jsk-ros-pkg/followers","following_url":"https://api.github.com/users/jsk-ros-pkg/following{/other_user}","gists_url":"https://api.github.com/users/jsk-ros-pkg/gists{/gist_id}","starred_url":"https://api.github.com/users/jsk-ros-pkg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsk-ros-pkg/subscriptions","organizations_url":"https://api.github.com/users/jsk-ros-pkg/orgs","repos_url":"https://api.github.com/users/jsk-ros-pkg/repos","events_url":"https://api.github.com/users/jsk-ros-pkg/events{/privacy}","received_events_url":"https://api.github.com/users/jsk-ros-pkg/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jsk-ros-pkg/jsk_common","description":"common programs for jsk-ros-pkg","fork":false,"url":"https://api.github.com/repos/jsk-ros-pkg/jsk_common","forks_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_common/forks","keys_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_common/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_common/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_common/teams","hooks_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_common/hooks","issue_events_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_common/issues/events{/number}","events_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_common/events","assignees_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_common/assignees{/user}","branches_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_common/branches{/branch}","tags_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_common/tags","blobs_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_common/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_common/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_common/git/refs{/sha}","trees_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_common/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_common/statuses/{sha}","languages_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_common/languages","stargazers_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_common/stargazers","contributors_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_common/contributors","subscribers_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_common/subscribers","subscription_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_common/subscription","commits_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_common/commits{/sha}","git_commits_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_common/git/commits{/sha}","comments_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_common/comments{/number}","issue_comment_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_common/issues/comments{/number}","contents_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_common/contents/{+path}","compare_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_common/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_common/merges","archive_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_common/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_common/downloads","issues_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_common/issues{/number}","pulls_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_common/pulls{/number}","milestones_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_common/milestones{/number}","notifications_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_common/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_common/labels{/name}","releases_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_common/releases{/id}","deployments_url":"https://api.github.com/repos/jsk-ros-pkg/jsk_common/deployments","created_at":"2014-03-03T17:58:29Z","updated_at":"2016-10-24T04:18:04Z","pushed_at":"2016-11-28T04:04:19Z","git_url":"git://github.com/jsk-ros-pkg/jsk_common.git","ssh_url":"git@github.com:jsk-ros-pkg/jsk_common.git","clone_url":"https://github.com/jsk-ros-pkg/jsk_common.git","svn_url":"https://github.com/jsk-ros-pkg/jsk_common","homepage":"","size":19445,"stargazers_count":6,"watchers_count":6,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":38,"mirror_url":null,"open_issues_count":52,"forks":38,"open_issues":52,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jsk-ros-pkg/jsk_common/pulls/1487"},"html":{"href":"https://github.com/jsk-ros-pkg/jsk_common/pull/1487"},"issue":{"href":"https://api.github.com/repos/jsk-ros-pkg/jsk_common/issues/1487"},"comments":{"href":"https://api.github.com/repos/jsk-ros-pkg/jsk_common/issues/1487/comments"},"review_comments":{"href":"https://api.github.com/repos/jsk-ros-pkg/jsk_common/pulls/1487/comments"},"review_comment":{"href":"https://api.github.com/repos/jsk-ros-pkg/jsk_common/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jsk-ros-pkg/jsk_common/pulls/1487/commits"},"statuses":{"href":"https://api.github.com/repos/jsk-ros-pkg/jsk_common/statuses/804b2d6881094f40c97d5e3dc2c89c7e04a848fe"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"k-okada","id":493276,"avatar_url":"https://avatars.githubusercontent.com/u/493276?v=3","gravatar_id":"","url":"https://api.github.com/users/k-okada","html_url":"https://github.com/k-okada","followers_url":"https://api.github.com/users/k-okada/followers","following_url":"https://api.github.com/users/k-okada/following{/other_user}","gists_url":"https://api.github.com/users/k-okada/gists{/gist_id}","starred_url":"https://api.github.com/users/k-okada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k-okada/subscriptions","organizations_url":"https://api.github.com/users/k-okada/orgs","repos_url":"https://api.github.com/users/k-okada/repos","events_url":"https://api.github.com/users/k-okada/events{/privacy}","received_events_url":"https://api.github.com/users/k-okada/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"k-okada"}}