{"action":"created","comment":{"url":"https://api.github.com/repos/Azure/sonic-swss/pulls/comments/78688650","id":78688650,"diff_hunk":"@@ -25,34 +25,32 @@ void RouteSync::onMsg(int nlmsg_type, struct nl_object *obj)\n {\n     struct rtnl_route *route_obj = (struct rtnl_route *)obj;\n     struct nl_addr *dip;\n-    char ifname[MAX_ADDR_SIZE + 1] = {0};\n-    uint32_t ipv4;\n-    int prefix;\n+    char destipprefix[MAX_ADDR_SIZE + 1] = {0};\n \n     dip = rtnl_route_get_dst(route_obj);\n-    /* Supports IPv4 address only for now */\n-    if (rtnl_route_get_family(route_obj)  != AF_INET)\n+    nl_addr2str(dip, destipprefix, MAX_ADDR_SIZE);\n+    SWSS_LOG_DEBUG(\"destipprefix=%s\\n\", destipprefix);","path":"fpmsyncd/routesync.cpp","position":null,"original_position":13,"commit_id":"bbcd573d0afd02cc39c5aa64bb91d43d9424603f","original_commit_id":"b61750f6efd35f74ad1137626a6e2f6391dd48c5","user":{"login":"qiluo-msft","id":11406616,"avatar_url":"https://avatars.githubusercontent.com/u/11406616?v=3","gravatar_id":"","url":"https://api.github.com/users/qiluo-msft","html_url":"https://github.com/qiluo-msft","followers_url":"https://api.github.com/users/qiluo-msft/followers","following_url":"https://api.github.com/users/qiluo-msft/following{/other_user}","gists_url":"https://api.github.com/users/qiluo-msft/gists{/gist_id}","starred_url":"https://api.github.com/users/qiluo-msft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qiluo-msft/subscriptions","organizations_url":"https://api.github.com/users/qiluo-msft/orgs","repos_url":"https://api.github.com/users/qiluo-msft/repos","events_url":"https://api.github.com/users/qiluo-msft/events{/privacy}","received_events_url":"https://api.github.com/users/qiluo-msft/received_events","type":"User","site_admin":false},"body":"Resolved.","created_at":"2016-09-14T05:41:15Z","updated_at":"2016-09-14T05:41:15Z","html_url":"https://github.com/Azure/sonic-swss/pull/78#discussion_r78688650","pull_request_url":"https://api.github.com/repos/Azure/sonic-swss/pulls/78","_links":{"self":{"href":"https://api.github.com/repos/Azure/sonic-swss/pulls/comments/78688650"},"html":{"href":"https://github.com/Azure/sonic-swss/pull/78#discussion_r78688650"},"pull_request":{"href":"https://api.github.com/repos/Azure/sonic-swss/pulls/78"}}},"pull_request":{"url":"https://api.github.com/repos/Azure/sonic-swss/pulls/78","id":85140837,"html_url":"https://github.com/Azure/sonic-swss/pull/78","diff_url":"https://github.com/Azure/sonic-swss/pull/78.diff","patch_url":"https://github.com/Azure/sonic-swss/pull/78.patch","issue_url":"https://api.github.com/repos/Azure/sonic-swss/issues/78","number":78,"state":"open","locked":false,"title":"RouteSync::onMsg supports ipv6 route","user":{"login":"qiluo-msft","id":11406616,"avatar_url":"https://avatars.githubusercontent.com/u/11406616?v=3","gravatar_id":"","url":"https://api.github.com/users/qiluo-msft","html_url":"https://github.com/qiluo-msft","followers_url":"https://api.github.com/users/qiluo-msft/followers","following_url":"https://api.github.com/users/qiluo-msft/following{/other_user}","gists_url":"https://api.github.com/users/qiluo-msft/gists{/gist_id}","starred_url":"https://api.github.com/users/qiluo-msft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qiluo-msft/subscriptions","organizations_url":"https://api.github.com/users/qiluo-msft/orgs","repos_url":"https://api.github.com/users/qiluo-msft/repos","events_url":"https://api.github.com/users/qiluo-msft/events{/privacy}","received_events_url":"https://api.github.com/users/qiluo-msft/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-13T22:59:46Z","updated_at":"2016-09-14T05:41:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b97c55e46fdc43fa35fa1ecae2d0f868d2cb446e","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Azure/sonic-swss/pulls/78/commits","review_comments_url":"https://api.github.com/repos/Azure/sonic-swss/pulls/78/comments","review_comment_url":"https://api.github.com/repos/Azure/sonic-swss/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Azure/sonic-swss/issues/78/comments","statuses_url":"https://api.github.com/repos/Azure/sonic-swss/statuses/bbcd573d0afd02cc39c5aa64bb91d43d9424603f","head":{"label":"qiluo-msft:qiluo/fpm-v6","ref":"qiluo/fpm-v6","sha":"bbcd573d0afd02cc39c5aa64bb91d43d9424603f","user":{"login":"qiluo-msft","id":11406616,"avatar_url":"https://avatars.githubusercontent.com/u/11406616?v=3","gravatar_id":"","url":"https://api.github.com/users/qiluo-msft","html_url":"https://github.com/qiluo-msft","followers_url":"https://api.github.com/users/qiluo-msft/followers","following_url":"https://api.github.com/users/qiluo-msft/following{/other_user}","gists_url":"https://api.github.com/users/qiluo-msft/gists{/gist_id}","starred_url":"https://api.github.com/users/qiluo-msft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qiluo-msft/subscriptions","organizations_url":"https://api.github.com/users/qiluo-msft/orgs","repos_url":"https://api.github.com/users/qiluo-msft/repos","events_url":"https://api.github.com/users/qiluo-msft/events{/privacy}","received_events_url":"https://api.github.com/users/qiluo-msft/received_events","type":"User","site_admin":false},"repo":{"id":66880363,"name":"sonic-swss","full_name":"qiluo-msft/sonic-swss","owner":{"login":"qiluo-msft","id":11406616,"avatar_url":"https://avatars.githubusercontent.com/u/11406616?v=3","gravatar_id":"","url":"https://api.github.com/users/qiluo-msft","html_url":"https://github.com/qiluo-msft","followers_url":"https://api.github.com/users/qiluo-msft/followers","following_url":"https://api.github.com/users/qiluo-msft/following{/other_user}","gists_url":"https://api.github.com/users/qiluo-msft/gists{/gist_id}","starred_url":"https://api.github.com/users/qiluo-msft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qiluo-msft/subscriptions","organizations_url":"https://api.github.com/users/qiluo-msft/orgs","repos_url":"https://api.github.com/users/qiluo-msft/repos","events_url":"https://api.github.com/users/qiluo-msft/events{/privacy}","received_events_url":"https://api.github.com/users/qiluo-msft/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/qiluo-msft/sonic-swss","description":"SONiC Switch State Service (SWSS)","fork":true,"url":"https://api.github.com/repos/qiluo-msft/sonic-swss","forks_url":"https://api.github.com/repos/qiluo-msft/sonic-swss/forks","keys_url":"https://api.github.com/repos/qiluo-msft/sonic-swss/keys{/key_id}","collaborators_url":"https://api.github.com/repos/qiluo-msft/sonic-swss/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/qiluo-msft/sonic-swss/teams","hooks_url":"https://api.github.com/repos/qiluo-msft/sonic-swss/hooks","issue_events_url":"https://api.github.com/repos/qiluo-msft/sonic-swss/issues/events{/number}","events_url":"https://api.github.com/repos/qiluo-msft/sonic-swss/events","assignees_url":"https://api.github.com/repos/qiluo-msft/sonic-swss/assignees{/user}","branches_url":"https://api.github.com/repos/qiluo-msft/sonic-swss/branches{/branch}","tags_url":"https://api.github.com/repos/qiluo-msft/sonic-swss/tags","blobs_url":"https://api.github.com/repos/qiluo-msft/sonic-swss/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/qiluo-msft/sonic-swss/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/qiluo-msft/sonic-swss/git/refs{/sha}","trees_url":"https://api.github.com/repos/qiluo-msft/sonic-swss/git/trees{/sha}","statuses_url":"https://api.github.com/repos/qiluo-msft/sonic-swss/statuses/{sha}","languages_url":"https://api.github.com/repos/qiluo-msft/sonic-swss/languages","stargazers_url":"https://api.github.com/repos/qiluo-msft/sonic-swss/stargazers","contributors_url":"https://api.github.com/repos/qiluo-msft/sonic-swss/contributors","subscribers_url":"https://api.github.com/repos/qiluo-msft/sonic-swss/subscribers","subscription_url":"https://api.github.com/repos/qiluo-msft/sonic-swss/subscription","commits_url":"https://api.github.com/repos/qiluo-msft/sonic-swss/commits{/sha}","git_commits_url":"https://api.github.com/repos/qiluo-msft/sonic-swss/git/commits{/sha}","comments_url":"https://api.github.com/repos/qiluo-msft/sonic-swss/comments{/number}","issue_comment_url":"https://api.github.com/repos/qiluo-msft/sonic-swss/issues/comments{/number}","contents_url":"https://api.github.com/repos/qiluo-msft/sonic-swss/contents/{+path}","compare_url":"https://api.github.com/repos/qiluo-msft/sonic-swss/compare/{base}...{head}","merges_url":"https://api.github.com/repos/qiluo-msft/sonic-swss/merges","archive_url":"https://api.github.com/repos/qiluo-msft/sonic-swss/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/qiluo-msft/sonic-swss/downloads","issues_url":"https://api.github.com/repos/qiluo-msft/sonic-swss/issues{/number}","pulls_url":"https://api.github.com/repos/qiluo-msft/sonic-swss/pulls{/number}","milestones_url":"https://api.github.com/repos/qiluo-msft/sonic-swss/milestones{/number}","notifications_url":"https://api.github.com/repos/qiluo-msft/sonic-swss/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/qiluo-msft/sonic-swss/labels{/name}","releases_url":"https://api.github.com/repos/qiluo-msft/sonic-swss/releases{/id}","deployments_url":"https://api.github.com/repos/qiluo-msft/sonic-swss/deployments","created_at":"2016-08-29T21:02:44Z","updated_at":"2016-08-29T21:02:46Z","pushed_at":"2016-09-14T05:40:01Z","git_url":"git://github.com/qiluo-msft/sonic-swss.git","ssh_url":"git@github.com:qiluo-msft/sonic-swss.git","clone_url":"https://github.com/qiluo-msft/sonic-swss.git","svn_url":"https://github.com/qiluo-msft/sonic-swss","homepage":"https://azure.github.io/SONiC","size":560,"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":"Azure:master","ref":"master","sha":"08004cc410a544543b20d8b83a1d64bcd573dad0","user":{"login":"Azure","id":6844498,"avatar_url":"https://avatars.githubusercontent.com/u/6844498?v=3","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"repo":{"id":53515475,"name":"sonic-swss","full_name":"Azure/sonic-swss","owner":{"login":"Azure","id":6844498,"avatar_url":"https://avatars.githubusercontent.com/u/6844498?v=3","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Azure/sonic-swss","description":"SONiC Switch State Service (SWSS)","fork":false,"url":"https://api.github.com/repos/Azure/sonic-swss","forks_url":"https://api.github.com/repos/Azure/sonic-swss/forks","keys_url":"https://api.github.com/repos/Azure/sonic-swss/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Azure/sonic-swss/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Azure/sonic-swss/teams","hooks_url":"https://api.github.com/repos/Azure/sonic-swss/hooks","issue_events_url":"https://api.github.com/repos/Azure/sonic-swss/issues/events{/number}","events_url":"https://api.github.com/repos/Azure/sonic-swss/events","assignees_url":"https://api.github.com/repos/Azure/sonic-swss/assignees{/user}","branches_url":"https://api.github.com/repos/Azure/sonic-swss/branches{/branch}","tags_url":"https://api.github.com/repos/Azure/sonic-swss/tags","blobs_url":"https://api.github.com/repos/Azure/sonic-swss/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Azure/sonic-swss/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Azure/sonic-swss/git/refs{/sha}","trees_url":"https://api.github.com/repos/Azure/sonic-swss/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Azure/sonic-swss/statuses/{sha}","languages_url":"https://api.github.com/repos/Azure/sonic-swss/languages","stargazers_url":"https://api.github.com/repos/Azure/sonic-swss/stargazers","contributors_url":"https://api.github.com/repos/Azure/sonic-swss/contributors","subscribers_url":"https://api.github.com/repos/Azure/sonic-swss/subscribers","subscription_url":"https://api.github.com/repos/Azure/sonic-swss/subscription","commits_url":"https://api.github.com/repos/Azure/sonic-swss/commits{/sha}","git_commits_url":"https://api.github.com/repos/Azure/sonic-swss/git/commits{/sha}","comments_url":"https://api.github.com/repos/Azure/sonic-swss/comments{/number}","issue_comment_url":"https://api.github.com/repos/Azure/sonic-swss/issues/comments{/number}","contents_url":"https://api.github.com/repos/Azure/sonic-swss/contents/{+path}","compare_url":"https://api.github.com/repos/Azure/sonic-swss/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Azure/sonic-swss/merges","archive_url":"https://api.github.com/repos/Azure/sonic-swss/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Azure/sonic-swss/downloads","issues_url":"https://api.github.com/repos/Azure/sonic-swss/issues{/number}","pulls_url":"https://api.github.com/repos/Azure/sonic-swss/pulls{/number}","milestones_url":"https://api.github.com/repos/Azure/sonic-swss/milestones{/number}","notifications_url":"https://api.github.com/repos/Azure/sonic-swss/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Azure/sonic-swss/labels{/name}","releases_url":"https://api.github.com/repos/Azure/sonic-swss/releases{/id}","deployments_url":"https://api.github.com/repos/Azure/sonic-swss/deployments","created_at":"2016-03-09T17:01:09Z","updated_at":"2016-09-06T21:55:20Z","pushed_at":"2016-09-14T05:40:02Z","git_url":"git://github.com/Azure/sonic-swss.git","ssh_url":"git@github.com:Azure/sonic-swss.git","clone_url":"https://github.com/Azure/sonic-swss.git","svn_url":"https://github.com/Azure/sonic-swss","homepage":"https://azure.github.io/SONiC","size":1020,"stargazers_count":17,"watchers_count":17,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":12,"forks":14,"open_issues":12,"watchers":17,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Azure/sonic-swss/pulls/78"},"html":{"href":"https://github.com/Azure/sonic-swss/pull/78"},"issue":{"href":"https://api.github.com/repos/Azure/sonic-swss/issues/78"},"comments":{"href":"https://api.github.com/repos/Azure/sonic-swss/issues/78/comments"},"review_comments":{"href":"https://api.github.com/repos/Azure/sonic-swss/pulls/78/comments"},"review_comment":{"href":"https://api.github.com/repos/Azure/sonic-swss/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Azure/sonic-swss/pulls/78/commits"},"statuses":{"href":"https://api.github.com/repos/Azure/sonic-swss/statuses/bbcd573d0afd02cc39c5aa64bb91d43d9424603f"}}}}
{"actor":{"display_login":"qiluo-msft"}}