{"action":"opened","issue":{"url":"https://api.github.com/repos/miniupnp/miniupnp/issues/163","labels_url":"https://api.github.com/repos/miniupnp/miniupnp/issues/163/labels{/name}","comments_url":"https://api.github.com/repos/miniupnp/miniupnp/issues/163/comments","events_url":"https://api.github.com/repos/miniupnp/miniupnp/issues/163/events","html_url":"https://github.com/miniupnp/miniupnp/issues/163","id":117469293,"number":163,"title":"get_src_for_route_to() returns different things in 'src' for local vs. remote addresses on BSD","user":{"login":"razzfazz","id":213635,"avatar_url":"https://avatars.githubusercontent.com/u/213635?v=3","gravatar_id":"","url":"https://api.github.com/users/razzfazz","html_url":"https://github.com/razzfazz","followers_url":"https://api.github.com/users/razzfazz/followers","following_url":"https://api.github.com/users/razzfazz/following{/other_user}","gists_url":"https://api.github.com/users/razzfazz/gists{/gist_id}","starred_url":"https://api.github.com/users/razzfazz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/razzfazz/subscriptions","organizations_url":"https://api.github.com/users/razzfazz/orgs","repos_url":"https://api.github.com/users/razzfazz/repos","events_url":"https://api.github.com/users/razzfazz/events{/privacy}","received_events_url":"https://api.github.com/users/razzfazz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-17T22:47:22Z","updated_at":"2015-11-17T22:47:22Z","closed_at":null,"body":"The current BSD code for get_src_for_route_to() will return the gateway address (from the RTA_GATEWAY response) for remote addresses but the link prefix (from the RTA_DST response) for local addresses; seems like it really should behave consistently in both cases."}}