{"action":"created","issue":{"url":"https://api.github.com/repos/sudomesh/notdhcp/issues/8","labels_url":"https://api.github.com/repos/sudomesh/notdhcp/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/sudomesh/notdhcp/issues/8/comments","events_url":"https://api.github.com/repos/sudomesh/notdhcp/issues/8/events","html_url":"https://github.com/sudomesh/notdhcp/issues/8","id":105070344,"number":8,"title":"notdhcpserver down hook doesn't run or fails before completing","user":{"login":"Juul","id":122752,"avatar_url":"https://avatars.githubusercontent.com/u/122752?v=3","gravatar_id":"","url":"https://api.github.com/users/Juul","html_url":"https://github.com/Juul","followers_url":"https://api.github.com/users/Juul/followers","following_url":"https://api.github.com/users/Juul/following{/other_user}","gists_url":"https://api.github.com/users/Juul/gists{/gist_id}","starred_url":"https://api.github.com/users/Juul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Juul/subscriptions","organizations_url":"https://api.github.com/users/Juul/orgs","repos_url":"https://api.github.com/users/Juul/repos","events_url":"https://api.github.com/users/Juul/events{/privacy}","received_events_url":"https://api.github.com/users/Juul/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-06T04:26:21Z","updated_at":"2015-09-06T05:07:46Z","closed_at":null,"body":""},"comment":{"url":"https://api.github.com/repos/sudomesh/notdhcp/issues/comments/138041003","html_url":"https://github.com/sudomesh/notdhcp/issues/8#issuecomment-138041003","issue_url":"https://api.github.com/repos/sudomesh/notdhcp/issues/8","id":138041003,"user":{"login":"Juul","id":122752,"avatar_url":"https://avatars.githubusercontent.com/u/122752?v=3","gravatar_id":"","url":"https://api.github.com/users/Juul","html_url":"https://github.com/Juul","followers_url":"https://api.github.com/users/Juul/followers","following_url":"https://api.github.com/users/Juul/following{/other_user}","gists_url":"https://api.github.com/users/Juul/gists{/gist_id}","starred_url":"https://api.github.com/users/Juul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Juul/subscriptions","organizations_url":"https://api.github.com/users/Juul/orgs","repos_url":"https://api.github.com/users/Juul/repos","events_url":"https://api.github.com/users/Juul/events{/privacy}","received_events_url":"https://api.github.com/users/Juul/received_events","type":"User","site_admin":false},"created_at":"2015-09-06T05:07:46Z","updated_at":"2015-09-06T05:07:46Z","body":"Lines 225 an 231\n\nOn Sat, Sep 5, 2015 at 9:44 PM, max-b <notifications@github.com> wrote:\n\n> I think the offending if call is at:\n> https://github.com/sudomesh/notdhcp/blob/master/server.c#L497\n>\n> I just got logs from a notdhcpserver node that had a disconnect:\n>\n> Fri Sep  4 23:25:39 2015 daemon.warn notdhcpserver: eth0.1: Physical disconnect detected\n>\n> But no corresponding hook call. Looks like maybe iface->state isn't\n> getting set correctly when the original connection is made?\n>\n> if(iface->state == STATE_GOT_ACK) {\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/sudomesh/notdhcp/issues/8#issuecomment-138040536>.\n>\n"}}