{"action":"created","comment":{"url":"https://api.github.com/repos/br101/horst/pulls/comments/44826085","id":44826085,"diff_hunk":"@@ -22,7 +22,7 @@\n \n #include <stdlib.h>\n #include <sys/time.h>\n-#include <net/if.h>\n+//#include <net/if.h>","path":"main.h","position":5,"original_position":5,"commit_id":"e66342186777688bd963450b586a98424e0c91cd","original_commit_id":"e66342186777688bd963450b586a98424e0c91cd","user":{"login":"br101","id":2255011,"avatar_url":"https://avatars.githubusercontent.com/u/2255011?v=3","gravatar_id":"","url":"https://api.github.com/users/br101","html_url":"https://github.com/br101","followers_url":"https://api.github.com/users/br101/followers","following_url":"https://api.github.com/users/br101/following{/other_user}","gists_url":"https://api.github.com/users/br101/gists{/gist_id}","starred_url":"https://api.github.com/users/br101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/br101/subscriptions","organizations_url":"https://api.github.com/users/br101/orgs","repos_url":"https://api.github.com/users/br101/repos","events_url":"https://api.github.com/users/br101/events{/privacy}","received_events_url":"https://api.github.com/users/br101/received_events","type":"User","site_admin":false},"body":"That is not the right solution","created_at":"2015-11-13T19:50:19Z","updated_at":"2015-11-13T19:50:19Z","html_url":"https://github.com/br101/horst/pull/39#discussion_r44826085","pull_request_url":"https://api.github.com/repos/br101/horst/pulls/39","_links":{"self":{"href":"https://api.github.com/repos/br101/horst/pulls/comments/44826085"},"html":{"href":"https://github.com/br101/horst/pull/39#discussion_r44826085"},"pull_request":{"href":"https://api.github.com/repos/br101/horst/pulls/39"}}},"pull_request":{"url":"https://api.github.com/repos/br101/horst/pulls/39","id":50593089,"html_url":"https://github.com/br101/horst/pull/39","diff_url":"https://github.com/br101/horst/pull/39.diff","patch_url":"https://github.com/br101/horst/pull/39.patch","issue_url":"https://api.github.com/repos/br101/horst/issues/39","number":39,"state":"open","locked":false,"title":"Add cmake support","user":{"login":"JiantaoFu","id":12674006,"avatar_url":"https://avatars.githubusercontent.com/u/12674006?v=3","gravatar_id":"","url":"https://api.github.com/users/JiantaoFu","html_url":"https://github.com/JiantaoFu","followers_url":"https://api.github.com/users/JiantaoFu/followers","following_url":"https://api.github.com/users/JiantaoFu/following{/other_user}","gists_url":"https://api.github.com/users/JiantaoFu/gists{/gist_id}","starred_url":"https://api.github.com/users/JiantaoFu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JiantaoFu/subscriptions","organizations_url":"https://api.github.com/users/JiantaoFu/orgs","repos_url":"https://api.github.com/users/JiantaoFu/repos","events_url":"https://api.github.com/users/JiantaoFu/events{/privacy}","received_events_url":"https://api.github.com/users/JiantaoFu/received_events","type":"User","site_admin":false},"body":"I have validate this in both osx and linux, with the following options: -DWEXT -DPCAP -DLIBNL, also fix some compile errors and warnings.","created_at":"2015-11-13T01:19:40Z","updated_at":"2015-11-13T19:50:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2a9db475e2cbd43406193b99bdf045a314d6523b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/br101/horst/pulls/39/commits","review_comments_url":"https://api.github.com/repos/br101/horst/pulls/39/comments","review_comment_url":"https://api.github.com/repos/br101/horst/pulls/comments{/number}","comments_url":"https://api.github.com/repos/br101/horst/issues/39/comments","statuses_url":"https://api.github.com/repos/br101/horst/statuses/e66342186777688bd963450b586a98424e0c91cd","head":{"label":"JiantaoFu:osx","ref":"osx","sha":"e66342186777688bd963450b586a98424e0c91cd","user":{"login":"JiantaoFu","id":12674006,"avatar_url":"https://avatars.githubusercontent.com/u/12674006?v=3","gravatar_id":"","url":"https://api.github.com/users/JiantaoFu","html_url":"https://github.com/JiantaoFu","followers_url":"https://api.github.com/users/JiantaoFu/followers","following_url":"https://api.github.com/users/JiantaoFu/following{/other_user}","gists_url":"https://api.github.com/users/JiantaoFu/gists{/gist_id}","starred_url":"https://api.github.com/users/JiantaoFu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JiantaoFu/subscriptions","organizations_url":"https://api.github.com/users/JiantaoFu/orgs","repos_url":"https://api.github.com/users/JiantaoFu/repos","events_url":"https://api.github.com/users/JiantaoFu/events{/privacy}","received_events_url":"https://api.github.com/users/JiantaoFu/received_events","type":"User","site_admin":false},"repo":{"id":45207651,"name":"horst","full_name":"JiantaoFu/horst","owner":{"login":"JiantaoFu","id":12674006,"avatar_url":"https://avatars.githubusercontent.com/u/12674006?v=3","gravatar_id":"","url":"https://api.github.com/users/JiantaoFu","html_url":"https://github.com/JiantaoFu","followers_url":"https://api.github.com/users/JiantaoFu/followers","following_url":"https://api.github.com/users/JiantaoFu/following{/other_user}","gists_url":"https://api.github.com/users/JiantaoFu/gists{/gist_id}","starred_url":"https://api.github.com/users/JiantaoFu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JiantaoFu/subscriptions","organizations_url":"https://api.github.com/users/JiantaoFu/orgs","repos_url":"https://api.github.com/users/JiantaoFu/repos","events_url":"https://api.github.com/users/JiantaoFu/events{/privacy}","received_events_url":"https://api.github.com/users/JiantaoFu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JiantaoFu/horst","description":"“horst” - lightweight IEEE802.11 wireless LAN analyzer with a text interface","fork":true,"url":"https://api.github.com/repos/JiantaoFu/horst","forks_url":"https://api.github.com/repos/JiantaoFu/horst/forks","keys_url":"https://api.github.com/repos/JiantaoFu/horst/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JiantaoFu/horst/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JiantaoFu/horst/teams","hooks_url":"https://api.github.com/repos/JiantaoFu/horst/hooks","issue_events_url":"https://api.github.com/repos/JiantaoFu/horst/issues/events{/number}","events_url":"https://api.github.com/repos/JiantaoFu/horst/events","assignees_url":"https://api.github.com/repos/JiantaoFu/horst/assignees{/user}","branches_url":"https://api.github.com/repos/JiantaoFu/horst/branches{/branch}","tags_url":"https://api.github.com/repos/JiantaoFu/horst/tags","blobs_url":"https://api.github.com/repos/JiantaoFu/horst/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JiantaoFu/horst/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JiantaoFu/horst/git/refs{/sha}","trees_url":"https://api.github.com/repos/JiantaoFu/horst/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JiantaoFu/horst/statuses/{sha}","languages_url":"https://api.github.com/repos/JiantaoFu/horst/languages","stargazers_url":"https://api.github.com/repos/JiantaoFu/horst/stargazers","contributors_url":"https://api.github.com/repos/JiantaoFu/horst/contributors","subscribers_url":"https://api.github.com/repos/JiantaoFu/horst/subscribers","subscription_url":"https://api.github.com/repos/JiantaoFu/horst/subscription","commits_url":"https://api.github.com/repos/JiantaoFu/horst/commits{/sha}","git_commits_url":"https://api.github.com/repos/JiantaoFu/horst/git/commits{/sha}","comments_url":"https://api.github.com/repos/JiantaoFu/horst/comments{/number}","issue_comment_url":"https://api.github.com/repos/JiantaoFu/horst/issues/comments{/number}","contents_url":"https://api.github.com/repos/JiantaoFu/horst/contents/{+path}","compare_url":"https://api.github.com/repos/JiantaoFu/horst/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JiantaoFu/horst/merges","archive_url":"https://api.github.com/repos/JiantaoFu/horst/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JiantaoFu/horst/downloads","issues_url":"https://api.github.com/repos/JiantaoFu/horst/issues{/number}","pulls_url":"https://api.github.com/repos/JiantaoFu/horst/pulls{/number}","milestones_url":"https://api.github.com/repos/JiantaoFu/horst/milestones{/number}","notifications_url":"https://api.github.com/repos/JiantaoFu/horst/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JiantaoFu/horst/labels{/name}","releases_url":"https://api.github.com/repos/JiantaoFu/horst/releases{/id}","created_at":"2015-10-29T20:06:45Z","updated_at":"2015-10-29T20:06:46Z","pushed_at":"2015-11-13T01:21:44Z","git_url":"git://github.com/JiantaoFu/horst.git","ssh_url":"git@github.com:JiantaoFu/horst.git","clone_url":"https://github.com/JiantaoFu/horst.git","svn_url":"https://github.com/JiantaoFu/horst","homepage":"http://br1.einfach.org/tech/horst/","size":1384,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"br101:master","ref":"master","sha":"3cf9679b9b14985c0d02fb8fbb066cadc31d579b","user":{"login":"br101","id":2255011,"avatar_url":"https://avatars.githubusercontent.com/u/2255011?v=3","gravatar_id":"","url":"https://api.github.com/users/br101","html_url":"https://github.com/br101","followers_url":"https://api.github.com/users/br101/followers","following_url":"https://api.github.com/users/br101/following{/other_user}","gists_url":"https://api.github.com/users/br101/gists{/gist_id}","starred_url":"https://api.github.com/users/br101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/br101/subscriptions","organizations_url":"https://api.github.com/users/br101/orgs","repos_url":"https://api.github.com/users/br101/repos","events_url":"https://api.github.com/users/br101/events{/privacy}","received_events_url":"https://api.github.com/users/br101/received_events","type":"User","site_admin":false},"repo":{"id":8876625,"name":"horst","full_name":"br101/horst","owner":{"login":"br101","id":2255011,"avatar_url":"https://avatars.githubusercontent.com/u/2255011?v=3","gravatar_id":"","url":"https://api.github.com/users/br101","html_url":"https://github.com/br101","followers_url":"https://api.github.com/users/br101/followers","following_url":"https://api.github.com/users/br101/following{/other_user}","gists_url":"https://api.github.com/users/br101/gists{/gist_id}","starred_url":"https://api.github.com/users/br101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/br101/subscriptions","organizations_url":"https://api.github.com/users/br101/orgs","repos_url":"https://api.github.com/users/br101/repos","events_url":"https://api.github.com/users/br101/events{/privacy}","received_events_url":"https://api.github.com/users/br101/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/br101/horst","description":"“horst” - lightweight IEEE802.11 wireless LAN analyzer with a text interface","fork":false,"url":"https://api.github.com/repos/br101/horst","forks_url":"https://api.github.com/repos/br101/horst/forks","keys_url":"https://api.github.com/repos/br101/horst/keys{/key_id}","collaborators_url":"https://api.github.com/repos/br101/horst/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/br101/horst/teams","hooks_url":"https://api.github.com/repos/br101/horst/hooks","issue_events_url":"https://api.github.com/repos/br101/horst/issues/events{/number}","events_url":"https://api.github.com/repos/br101/horst/events","assignees_url":"https://api.github.com/repos/br101/horst/assignees{/user}","branches_url":"https://api.github.com/repos/br101/horst/branches{/branch}","tags_url":"https://api.github.com/repos/br101/horst/tags","blobs_url":"https://api.github.com/repos/br101/horst/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/br101/horst/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/br101/horst/git/refs{/sha}","trees_url":"https://api.github.com/repos/br101/horst/git/trees{/sha}","statuses_url":"https://api.github.com/repos/br101/horst/statuses/{sha}","languages_url":"https://api.github.com/repos/br101/horst/languages","stargazers_url":"https://api.github.com/repos/br101/horst/stargazers","contributors_url":"https://api.github.com/repos/br101/horst/contributors","subscribers_url":"https://api.github.com/repos/br101/horst/subscribers","subscription_url":"https://api.github.com/repos/br101/horst/subscription","commits_url":"https://api.github.com/repos/br101/horst/commits{/sha}","git_commits_url":"https://api.github.com/repos/br101/horst/git/commits{/sha}","comments_url":"https://api.github.com/repos/br101/horst/comments{/number}","issue_comment_url":"https://api.github.com/repos/br101/horst/issues/comments{/number}","contents_url":"https://api.github.com/repos/br101/horst/contents/{+path}","compare_url":"https://api.github.com/repos/br101/horst/compare/{base}...{head}","merges_url":"https://api.github.com/repos/br101/horst/merges","archive_url":"https://api.github.com/repos/br101/horst/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/br101/horst/downloads","issues_url":"https://api.github.com/repos/br101/horst/issues{/number}","pulls_url":"https://api.github.com/repos/br101/horst/pulls{/number}","milestones_url":"https://api.github.com/repos/br101/horst/milestones{/number}","notifications_url":"https://api.github.com/repos/br101/horst/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/br101/horst/labels{/name}","releases_url":"https://api.github.com/repos/br101/horst/releases{/id}","created_at":"2013-03-19T11:05:40Z","updated_at":"2015-11-05T10:32:39Z","pushed_at":"2015-11-13T01:21:45Z","git_url":"git://github.com/br101/horst.git","ssh_url":"git@github.com:br101/horst.git","clone_url":"https://github.com/br101/horst.git","svn_url":"https://github.com/br101/horst","homepage":"http://br1.einfach.org/tech/horst/","size":1940,"stargazers_count":52,"watchers_count":52,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":19,"mirror_url":null,"open_issues_count":5,"forks":19,"open_issues":5,"watchers":52,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/br101/horst/pulls/39"},"html":{"href":"https://github.com/br101/horst/pull/39"},"issue":{"href":"https://api.github.com/repos/br101/horst/issues/39"},"comments":{"href":"https://api.github.com/repos/br101/horst/issues/39/comments"},"review_comments":{"href":"https://api.github.com/repos/br101/horst/pulls/39/comments"},"review_comment":{"href":"https://api.github.com/repos/br101/horst/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/br101/horst/pulls/39/commits"},"statuses":{"href":"https://api.github.com/repos/br101/horst/statuses/e66342186777688bd963450b586a98424e0c91cd"}}}}