{"action":"opened","number":17,"pull_request":{"url":"https://api.github.com/repos/jvinet/knock/pulls/17","id":27847844,"html_url":"https://github.com/jvinet/knock/pull/17","diff_url":"https://github.com/jvinet/knock/pull/17.diff","patch_url":"https://github.com/jvinet/knock/pull/17.patch","issue_url":"https://api.github.com/repos/jvinet/knock/issues/17","number":17,"state":"open","locked":false,"title":"Bind to all IPs of an interface, closes #7","user":{"login":"visit1985","id":2237222,"avatar_url":"https://avatars.githubusercontent.com/u/2237222?v=3","gravatar_id":"","url":"https://api.github.com/users/visit1985","html_url":"https://github.com/visit1985","followers_url":"https://api.github.com/users/visit1985/followers","following_url":"https://api.github.com/users/visit1985/following{/other_user}","gists_url":"https://api.github.com/users/visit1985/gists{/gist_id}","starred_url":"https://api.github.com/users/visit1985/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/visit1985/subscriptions","organizations_url":"https://api.github.com/users/visit1985/orgs","repos_url":"https://api.github.com/users/visit1985/repos","events_url":"https://api.github.com/users/visit1985/events{/privacy}","received_events_url":"https://api.github.com/users/visit1985/received_events","type":"User","site_admin":false},"body":"Thanks for this awesome tool!\r\n\r\nHere my attempt to solve #7.\r\nI hope you'll bear with me, as I'm a C novice :)\r\nI'm also not sure if this is 100% BSD compatible.","created_at":"2015-01-22T14:53:55Z","updated_at":"2015-01-22T14:53:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jvinet/knock/pulls/17/commits","review_comments_url":"https://api.github.com/repos/jvinet/knock/pulls/17/comments","review_comment_url":"https://api.github.com/repos/jvinet/knock/pulls/comments/{number}","comments_url":"https://api.github.com/repos/jvinet/knock/issues/17/comments","statuses_url":"https://api.github.com/repos/jvinet/knock/statuses/a83835ccee310698fb2c93e158da57cfdd056078","head":{"label":"visit1985:master","ref":"master","sha":"a83835ccee310698fb2c93e158da57cfdd056078","user":{"login":"visit1985","id":2237222,"avatar_url":"https://avatars.githubusercontent.com/u/2237222?v=3","gravatar_id":"","url":"https://api.github.com/users/visit1985","html_url":"https://github.com/visit1985","followers_url":"https://api.github.com/users/visit1985/followers","following_url":"https://api.github.com/users/visit1985/following{/other_user}","gists_url":"https://api.github.com/users/visit1985/gists{/gist_id}","starred_url":"https://api.github.com/users/visit1985/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/visit1985/subscriptions","organizations_url":"https://api.github.com/users/visit1985/orgs","repos_url":"https://api.github.com/users/visit1985/repos","events_url":"https://api.github.com/users/visit1985/events{/privacy}","received_events_url":"https://api.github.com/users/visit1985/received_events","type":"User","site_admin":false},"repo":{"id":29672736,"name":"knock","full_name":"visit1985/knock","owner":{"login":"visit1985","id":2237222,"avatar_url":"https://avatars.githubusercontent.com/u/2237222?v=3","gravatar_id":"","url":"https://api.github.com/users/visit1985","html_url":"https://github.com/visit1985","followers_url":"https://api.github.com/users/visit1985/followers","following_url":"https://api.github.com/users/visit1985/following{/other_user}","gists_url":"https://api.github.com/users/visit1985/gists{/gist_id}","starred_url":"https://api.github.com/users/visit1985/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/visit1985/subscriptions","organizations_url":"https://api.github.com/users/visit1985/orgs","repos_url":"https://api.github.com/users/visit1985/repos","events_url":"https://api.github.com/users/visit1985/events{/privacy}","received_events_url":"https://api.github.com/users/visit1985/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/visit1985/knock","description":"A port-knocking daemon","fork":true,"url":"https://api.github.com/repos/visit1985/knock","forks_url":"https://api.github.com/repos/visit1985/knock/forks","keys_url":"https://api.github.com/repos/visit1985/knock/keys{/key_id}","collaborators_url":"https://api.github.com/repos/visit1985/knock/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/visit1985/knock/teams","hooks_url":"https://api.github.com/repos/visit1985/knock/hooks","issue_events_url":"https://api.github.com/repos/visit1985/knock/issues/events{/number}","events_url":"https://api.github.com/repos/visit1985/knock/events","assignees_url":"https://api.github.com/repos/visit1985/knock/assignees{/user}","branches_url":"https://api.github.com/repos/visit1985/knock/branches{/branch}","tags_url":"https://api.github.com/repos/visit1985/knock/tags","blobs_url":"https://api.github.com/repos/visit1985/knock/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/visit1985/knock/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/visit1985/knock/git/refs{/sha}","trees_url":"https://api.github.com/repos/visit1985/knock/git/trees{/sha}","statuses_url":"https://api.github.com/repos/visit1985/knock/statuses/{sha}","languages_url":"https://api.github.com/repos/visit1985/knock/languages","stargazers_url":"https://api.github.com/repos/visit1985/knock/stargazers","contributors_url":"https://api.github.com/repos/visit1985/knock/contributors","subscribers_url":"https://api.github.com/repos/visit1985/knock/subscribers","subscription_url":"https://api.github.com/repos/visit1985/knock/subscription","commits_url":"https://api.github.com/repos/visit1985/knock/commits{/sha}","git_commits_url":"https://api.github.com/repos/visit1985/knock/git/commits{/sha}","comments_url":"https://api.github.com/repos/visit1985/knock/comments{/number}","issue_comment_url":"https://api.github.com/repos/visit1985/knock/issues/comments/{number}","contents_url":"https://api.github.com/repos/visit1985/knock/contents/{+path}","compare_url":"https://api.github.com/repos/visit1985/knock/compare/{base}...{head}","merges_url":"https://api.github.com/repos/visit1985/knock/merges","archive_url":"https://api.github.com/repos/visit1985/knock/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/visit1985/knock/downloads","issues_url":"https://api.github.com/repos/visit1985/knock/issues{/number}","pulls_url":"https://api.github.com/repos/visit1985/knock/pulls{/number}","milestones_url":"https://api.github.com/repos/visit1985/knock/milestones{/number}","notifications_url":"https://api.github.com/repos/visit1985/knock/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/visit1985/knock/labels{/name}","releases_url":"https://api.github.com/repos/visit1985/knock/releases{/id}","created_at":"2015-01-22T10:14:33Z","updated_at":"2015-01-22T14:38:26Z","pushed_at":"2015-01-22T14:38:26Z","git_url":"git://github.com/visit1985/knock.git","ssh_url":"git@github.com:visit1985/knock.git","clone_url":"https://github.com/visit1985/knock.git","svn_url":"https://github.com/visit1985/knock","homepage":"http://www.zeroflux.org/projects/knock","size":206,"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":"jvinet:master","ref":"master","sha":"e566d49c3ef2897ec4eb496eb7a21efff89b2a3b","user":{"login":"jvinet","id":84075,"avatar_url":"https://avatars.githubusercontent.com/u/84075?v=3","gravatar_id":"","url":"https://api.github.com/users/jvinet","html_url":"https://github.com/jvinet","followers_url":"https://api.github.com/users/jvinet/followers","following_url":"https://api.github.com/users/jvinet/following{/other_user}","gists_url":"https://api.github.com/users/jvinet/gists{/gist_id}","starred_url":"https://api.github.com/users/jvinet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvinet/subscriptions","organizations_url":"https://api.github.com/users/jvinet/orgs","repos_url":"https://api.github.com/users/jvinet/repos","events_url":"https://api.github.com/users/jvinet/events{/privacy}","received_events_url":"https://api.github.com/users/jvinet/received_events","type":"User","site_admin":false},"repo":{"id":2001551,"name":"knock","full_name":"jvinet/knock","owner":{"login":"jvinet","id":84075,"avatar_url":"https://avatars.githubusercontent.com/u/84075?v=3","gravatar_id":"","url":"https://api.github.com/users/jvinet","html_url":"https://github.com/jvinet","followers_url":"https://api.github.com/users/jvinet/followers","following_url":"https://api.github.com/users/jvinet/following{/other_user}","gists_url":"https://api.github.com/users/jvinet/gists{/gist_id}","starred_url":"https://api.github.com/users/jvinet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvinet/subscriptions","organizations_url":"https://api.github.com/users/jvinet/orgs","repos_url":"https://api.github.com/users/jvinet/repos","events_url":"https://api.github.com/users/jvinet/events{/privacy}","received_events_url":"https://api.github.com/users/jvinet/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jvinet/knock","description":"A port-knocking daemon","fork":false,"url":"https://api.github.com/repos/jvinet/knock","forks_url":"https://api.github.com/repos/jvinet/knock/forks","keys_url":"https://api.github.com/repos/jvinet/knock/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jvinet/knock/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jvinet/knock/teams","hooks_url":"https://api.github.com/repos/jvinet/knock/hooks","issue_events_url":"https://api.github.com/repos/jvinet/knock/issues/events{/number}","events_url":"https://api.github.com/repos/jvinet/knock/events","assignees_url":"https://api.github.com/repos/jvinet/knock/assignees{/user}","branches_url":"https://api.github.com/repos/jvinet/knock/branches{/branch}","tags_url":"https://api.github.com/repos/jvinet/knock/tags","blobs_url":"https://api.github.com/repos/jvinet/knock/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jvinet/knock/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jvinet/knock/git/refs{/sha}","trees_url":"https://api.github.com/repos/jvinet/knock/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jvinet/knock/statuses/{sha}","languages_url":"https://api.github.com/repos/jvinet/knock/languages","stargazers_url":"https://api.github.com/repos/jvinet/knock/stargazers","contributors_url":"https://api.github.com/repos/jvinet/knock/contributors","subscribers_url":"https://api.github.com/repos/jvinet/knock/subscribers","subscription_url":"https://api.github.com/repos/jvinet/knock/subscription","commits_url":"https://api.github.com/repos/jvinet/knock/commits{/sha}","git_commits_url":"https://api.github.com/repos/jvinet/knock/git/commits{/sha}","comments_url":"https://api.github.com/repos/jvinet/knock/comments{/number}","issue_comment_url":"https://api.github.com/repos/jvinet/knock/issues/comments/{number}","contents_url":"https://api.github.com/repos/jvinet/knock/contents/{+path}","compare_url":"https://api.github.com/repos/jvinet/knock/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jvinet/knock/merges","archive_url":"https://api.github.com/repos/jvinet/knock/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jvinet/knock/downloads","issues_url":"https://api.github.com/repos/jvinet/knock/issues{/number}","pulls_url":"https://api.github.com/repos/jvinet/knock/pulls{/number}","milestones_url":"https://api.github.com/repos/jvinet/knock/milestones{/number}","notifications_url":"https://api.github.com/repos/jvinet/knock/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jvinet/knock/labels{/name}","releases_url":"https://api.github.com/repos/jvinet/knock/releases{/id}","created_at":"2011-07-05T16:49:30Z","updated_at":"2015-01-14T11:25:23Z","pushed_at":"2014-12-22T20:46:28Z","git_url":"git://github.com/jvinet/knock.git","ssh_url":"git@github.com:jvinet/knock.git","clone_url":"https://github.com/jvinet/knock.git","svn_url":"https://github.com/jvinet/knock","homepage":"http://www.zeroflux.org/projects/knock","size":294,"stargazers_count":66,"watchers_count":66,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":9,"forks":13,"open_issues":9,"watchers":66,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jvinet/knock/pulls/17"},"html":{"href":"https://github.com/jvinet/knock/pull/17"},"issue":{"href":"https://api.github.com/repos/jvinet/knock/issues/17"},"comments":{"href":"https://api.github.com/repos/jvinet/knock/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/jvinet/knock/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/jvinet/knock/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/jvinet/knock/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/jvinet/knock/statuses/a83835ccee310698fb2c93e158da57cfdd056078"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":5,"additions":72,"deletions":12,"changed_files":3}}