{"action":"opened","number":773,"pull_request":{"url":"https://api.github.com/repos/ericpaulbishop/gargoyle/pulls/773","id":210707481,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEwNzA3NDgx","html_url":"https://github.com/ericpaulbishop/gargoyle/pull/773","diff_url":"https://github.com/ericpaulbishop/gargoyle/pull/773.diff","patch_url":"https://github.com/ericpaulbishop/gargoyle/pull/773.patch","issue_url":"https://api.github.com/repos/ericpaulbishop/gargoyle/issues/773","number":773,"state":"open","locked":false,"title":"Fix restore_quotas (and probably set_bw)","user":{"login":"lantis1008","id":10367653,"node_id":"MDQ6VXNlcjEwMzY3NjUz","avatar_url":"https://avatars2.githubusercontent.com/u/10367653?v=4","gravatar_id":"","url":"https://api.github.com/users/lantis1008","html_url":"https://github.com/lantis1008","followers_url":"https://api.github.com/users/lantis1008/followers","following_url":"https://api.github.com/users/lantis1008/following{/other_user}","gists_url":"https://api.github.com/users/lantis1008/gists{/gist_id}","starred_url":"https://api.github.com/users/lantis1008/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lantis1008/subscriptions","organizations_url":"https://api.github.com/users/lantis1008/orgs","repos_url":"https://api.github.com/users/lantis1008/repos","events_url":"https://api.github.com/users/lantis1008/events{/privacy}","received_events_url":"https://api.github.com/users/lantis1008/received_events","type":"User","site_admin":false},"body":"This seems to have been broken since the dawn of time? The epoch timestring at the beginning of all files read by this function are (unexpectedly) interpetted as valid ip addrs, and so the last backup is never stored. The index also always appears to have been off by 1, and was leading to a segfault as the array went out of bounds.\r\nMake an assumption that the first part of the file is ALWAYS a timestring, and fix the index issue","created_at":"2018-08-24T10:56:37Z","updated_at":"2018-08-24T10:56:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ericpaulbishop/gargoyle/pulls/773/commits","review_comments_url":"https://api.github.com/repos/ericpaulbishop/gargoyle/pulls/773/comments","review_comment_url":"https://api.github.com/repos/ericpaulbishop/gargoyle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ericpaulbishop/gargoyle/issues/773/comments","statuses_url":"https://api.github.com/repos/ericpaulbishop/gargoyle/statuses/6442b5d45abe1c6748494b8ce75fb73020cd0aa4","head":{"label":"lantis1008:fix_restore_quotas","ref":"fix_restore_quotas","sha":"6442b5d45abe1c6748494b8ce75fb73020cd0aa4","user":{"login":"lantis1008","id":10367653,"node_id":"MDQ6VXNlcjEwMzY3NjUz","avatar_url":"https://avatars2.githubusercontent.com/u/10367653?v=4","gravatar_id":"","url":"https://api.github.com/users/lantis1008","html_url":"https://github.com/lantis1008","followers_url":"https://api.github.com/users/lantis1008/followers","following_url":"https://api.github.com/users/lantis1008/following{/other_user}","gists_url":"https://api.github.com/users/lantis1008/gists{/gist_id}","starred_url":"https://api.github.com/users/lantis1008/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lantis1008/subscriptions","organizations_url":"https://api.github.com/users/lantis1008/orgs","repos_url":"https://api.github.com/users/lantis1008/repos","events_url":"https://api.github.com/users/lantis1008/events{/privacy}","received_events_url":"https://api.github.com/users/lantis1008/received_events","type":"User","site_admin":false},"repo":{"id":30442775,"node_id":"MDEwOlJlcG9zaXRvcnkzMDQ0Mjc3NQ==","name":"gargoyle","full_name":"lantis1008/gargoyle","owner":{"login":"lantis1008","id":10367653,"node_id":"MDQ6VXNlcjEwMzY3NjUz","avatar_url":"https://avatars2.githubusercontent.com/u/10367653?v=4","gravatar_id":"","url":"https://api.github.com/users/lantis1008","html_url":"https://github.com/lantis1008","followers_url":"https://api.github.com/users/lantis1008/followers","following_url":"https://api.github.com/users/lantis1008/following{/other_user}","gists_url":"https://api.github.com/users/lantis1008/gists{/gist_id}","starred_url":"https://api.github.com/users/lantis1008/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lantis1008/subscriptions","organizations_url":"https://api.github.com/users/lantis1008/orgs","repos_url":"https://api.github.com/users/lantis1008/repos","events_url":"https://api.github.com/users/lantis1008/events{/privacy}","received_events_url":"https://api.github.com/users/lantis1008/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lantis1008/gargoyle","description":"Gargoyle Router Management Utility","fork":true,"url":"https://api.github.com/repos/lantis1008/gargoyle","forks_url":"https://api.github.com/repos/lantis1008/gargoyle/forks","keys_url":"https://api.github.com/repos/lantis1008/gargoyle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lantis1008/gargoyle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lantis1008/gargoyle/teams","hooks_url":"https://api.github.com/repos/lantis1008/gargoyle/hooks","issue_events_url":"https://api.github.com/repos/lantis1008/gargoyle/issues/events{/number}","events_url":"https://api.github.com/repos/lantis1008/gargoyle/events","assignees_url":"https://api.github.com/repos/lantis1008/gargoyle/assignees{/user}","branches_url":"https://api.github.com/repos/lantis1008/gargoyle/branches{/branch}","tags_url":"https://api.github.com/repos/lantis1008/gargoyle/tags","blobs_url":"https://api.github.com/repos/lantis1008/gargoyle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lantis1008/gargoyle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lantis1008/gargoyle/git/refs{/sha}","trees_url":"https://api.github.com/repos/lantis1008/gargoyle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lantis1008/gargoyle/statuses/{sha}","languages_url":"https://api.github.com/repos/lantis1008/gargoyle/languages","stargazers_url":"https://api.github.com/repos/lantis1008/gargoyle/stargazers","contributors_url":"https://api.github.com/repos/lantis1008/gargoyle/contributors","subscribers_url":"https://api.github.com/repos/lantis1008/gargoyle/subscribers","subscription_url":"https://api.github.com/repos/lantis1008/gargoyle/subscription","commits_url":"https://api.github.com/repos/lantis1008/gargoyle/commits{/sha}","git_commits_url":"https://api.github.com/repos/lantis1008/gargoyle/git/commits{/sha}","comments_url":"https://api.github.com/repos/lantis1008/gargoyle/comments{/number}","issue_comment_url":"https://api.github.com/repos/lantis1008/gargoyle/issues/comments{/number}","contents_url":"https://api.github.com/repos/lantis1008/gargoyle/contents/{+path}","compare_url":"https://api.github.com/repos/lantis1008/gargoyle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lantis1008/gargoyle/merges","archive_url":"https://api.github.com/repos/lantis1008/gargoyle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lantis1008/gargoyle/downloads","issues_url":"https://api.github.com/repos/lantis1008/gargoyle/issues{/number}","pulls_url":"https://api.github.com/repos/lantis1008/gargoyle/pulls{/number}","milestones_url":"https://api.github.com/repos/lantis1008/gargoyle/milestones{/number}","notifications_url":"https://api.github.com/repos/lantis1008/gargoyle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lantis1008/gargoyle/labels{/name}","releases_url":"https://api.github.com/repos/lantis1008/gargoyle/releases{/id}","deployments_url":"https://api.github.com/repos/lantis1008/gargoyle/deployments","created_at":"2015-02-07T02:48:28Z","updated_at":"2018-04-03T20:27:48Z","pushed_at":"2018-08-24T10:55:47Z","git_url":"git://github.com/lantis1008/gargoyle.git","ssh_url":"git@github.com:lantis1008/gargoyle.git","clone_url":"https://github.com/lantis1008/gargoyle.git","svn_url":"https://github.com/lantis1008/gargoyle","homepage":"http://www.gargoyle-router.com","size":14033,"stargazers_count":2,"watchers_count":2,"language":"C","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":1,"open_issues":0,"watchers":2,"default_branch":"master"}},"base":{"label":"ericpaulbishop:base_on_openwrt_remerge","ref":"base_on_openwrt_remerge","sha":"3d4c0b7d08621c4ac15569794a8be891e47e1b11","user":{"login":"ericpaulbishop","id":251665,"node_id":"MDQ6VXNlcjI1MTY2NQ==","avatar_url":"https://avatars0.githubusercontent.com/u/251665?v=4","gravatar_id":"","url":"https://api.github.com/users/ericpaulbishop","html_url":"https://github.com/ericpaulbishop","followers_url":"https://api.github.com/users/ericpaulbishop/followers","following_url":"https://api.github.com/users/ericpaulbishop/following{/other_user}","gists_url":"https://api.github.com/users/ericpaulbishop/gists{/gist_id}","starred_url":"https://api.github.com/users/ericpaulbishop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericpaulbishop/subscriptions","organizations_url":"https://api.github.com/users/ericpaulbishop/orgs","repos_url":"https://api.github.com/users/ericpaulbishop/repos","events_url":"https://api.github.com/users/ericpaulbishop/events{/privacy}","received_events_url":"https://api.github.com/users/ericpaulbishop/received_events","type":"User","site_admin":false},"repo":{"id":677290,"node_id":"MDEwOlJlcG9zaXRvcnk2NzcyOTA=","name":"gargoyle","full_name":"ericpaulbishop/gargoyle","owner":{"login":"ericpaulbishop","id":251665,"node_id":"MDQ6VXNlcjI1MTY2NQ==","avatar_url":"https://avatars0.githubusercontent.com/u/251665?v=4","gravatar_id":"","url":"https://api.github.com/users/ericpaulbishop","html_url":"https://github.com/ericpaulbishop","followers_url":"https://api.github.com/users/ericpaulbishop/followers","following_url":"https://api.github.com/users/ericpaulbishop/following{/other_user}","gists_url":"https://api.github.com/users/ericpaulbishop/gists{/gist_id}","starred_url":"https://api.github.com/users/ericpaulbishop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericpaulbishop/subscriptions","organizations_url":"https://api.github.com/users/ericpaulbishop/orgs","repos_url":"https://api.github.com/users/ericpaulbishop/repos","events_url":"https://api.github.com/users/ericpaulbishop/events{/privacy}","received_events_url":"https://api.github.com/users/ericpaulbishop/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ericpaulbishop/gargoyle","description":"Gargoyle Router Management Utility","fork":false,"url":"https://api.github.com/repos/ericpaulbishop/gargoyle","forks_url":"https://api.github.com/repos/ericpaulbishop/gargoyle/forks","keys_url":"https://api.github.com/repos/ericpaulbishop/gargoyle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ericpaulbishop/gargoyle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ericpaulbishop/gargoyle/teams","hooks_url":"https://api.github.com/repos/ericpaulbishop/gargoyle/hooks","issue_events_url":"https://api.github.com/repos/ericpaulbishop/gargoyle/issues/events{/number}","events_url":"https://api.github.com/repos/ericpaulbishop/gargoyle/events","assignees_url":"https://api.github.com/repos/ericpaulbishop/gargoyle/assignees{/user}","branches_url":"https://api.github.com/repos/ericpaulbishop/gargoyle/branches{/branch}","tags_url":"https://api.github.com/repos/ericpaulbishop/gargoyle/tags","blobs_url":"https://api.github.com/repos/ericpaulbishop/gargoyle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ericpaulbishop/gargoyle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ericpaulbishop/gargoyle/git/refs{/sha}","trees_url":"https://api.github.com/repos/ericpaulbishop/gargoyle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ericpaulbishop/gargoyle/statuses/{sha}","languages_url":"https://api.github.com/repos/ericpaulbishop/gargoyle/languages","stargazers_url":"https://api.github.com/repos/ericpaulbishop/gargoyle/stargazers","contributors_url":"https://api.github.com/repos/ericpaulbishop/gargoyle/contributors","subscribers_url":"https://api.github.com/repos/ericpaulbishop/gargoyle/subscribers","subscription_url":"https://api.github.com/repos/ericpaulbishop/gargoyle/subscription","commits_url":"https://api.github.com/repos/ericpaulbishop/gargoyle/commits{/sha}","git_commits_url":"https://api.github.com/repos/ericpaulbishop/gargoyle/git/commits{/sha}","comments_url":"https://api.github.com/repos/ericpaulbishop/gargoyle/comments{/number}","issue_comment_url":"https://api.github.com/repos/ericpaulbishop/gargoyle/issues/comments{/number}","contents_url":"https://api.github.com/repos/ericpaulbishop/gargoyle/contents/{+path}","compare_url":"https://api.github.com/repos/ericpaulbishop/gargoyle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ericpaulbishop/gargoyle/merges","archive_url":"https://api.github.com/repos/ericpaulbishop/gargoyle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ericpaulbishop/gargoyle/downloads","issues_url":"https://api.github.com/repos/ericpaulbishop/gargoyle/issues{/number}","pulls_url":"https://api.github.com/repos/ericpaulbishop/gargoyle/pulls{/number}","milestones_url":"https://api.github.com/repos/ericpaulbishop/gargoyle/milestones{/number}","notifications_url":"https://api.github.com/repos/ericpaulbishop/gargoyle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ericpaulbishop/gargoyle/labels{/name}","releases_url":"https://api.github.com/repos/ericpaulbishop/gargoyle/releases{/id}","deployments_url":"https://api.github.com/repos/ericpaulbishop/gargoyle/deployments","created_at":"2010-05-20T15:24:16Z","updated_at":"2018-08-21T08:33:00Z","pushed_at":"2018-08-23T22:10:04Z","git_url":"git://github.com/ericpaulbishop/gargoyle.git","ssh_url":"git@github.com:ericpaulbishop/gargoyle.git","clone_url":"https://github.com/ericpaulbishop/gargoyle.git","svn_url":"https://github.com/ericpaulbishop/gargoyle","homepage":"http://www.gargoyle-router.com","size":13918,"stargazers_count":311,"watchers_count":311,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":172,"mirror_url":null,"archived":false,"open_issues_count":49,"license":null,"forks":172,"open_issues":49,"watchers":311,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ericpaulbishop/gargoyle/pulls/773"},"html":{"href":"https://github.com/ericpaulbishop/gargoyle/pull/773"},"issue":{"href":"https://api.github.com/repos/ericpaulbishop/gargoyle/issues/773"},"comments":{"href":"https://api.github.com/repos/ericpaulbishop/gargoyle/issues/773/comments"},"review_comments":{"href":"https://api.github.com/repos/ericpaulbishop/gargoyle/pulls/773/comments"},"review_comment":{"href":"https://api.github.com/repos/ericpaulbishop/gargoyle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ericpaulbishop/gargoyle/pulls/773/commits"},"statuses":{"href":"https://api.github.com/repos/ericpaulbishop/gargoyle/statuses/6442b5d45abe1c6748494b8ce75fb73020cd0aa4"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":3,"deletions":2,"changed_files":1}}
{"actor":{"display_login":"lantis1008"}}