Repository: incubator-mynewt-core Updated Branches: refs/heads/develop 0845466b6 -> a6ab2016d
mn_socket unit test; clear scope_id of v6 sockaddr. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/bc7a4f5e Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/bc7a4f5e Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/bc7a4f5e Branch: refs/heads/develop Commit: bc7a4f5e2dcea9a337ebccfceaa77483c9b47922 Parents: 0845466 Author: Marko Kiiskila <[email protected]> Authored: Thu Jan 12 08:13:37 2017 -0800 Committer: Marko Kiiskila <[email protected]> Committed: Thu Jan 12 08:13:37 2017 -0800 ---------------------------------------------------------------------- net/ip/mn_socket/test/src/mn_sock_util.c | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/bc7a4f5e/net/ip/mn_socket/test/src/mn_sock_util.c ---------------------------------------------------------------------- diff --git a/net/ip/mn_socket/test/src/mn_sock_util.c b/net/ip/mn_socket/test/src/mn_sock_util.c index aea436e..bbbaa19 100644 --- a/net/ip/mn_socket/test/src/mn_sock_util.c +++ b/net/ip/mn_socket/test/src/mn_sock_util.c @@ -677,6 +677,7 @@ sock_udp_mcast_v6(void) msin6.msin6_family = MN_AF_INET6; msin6.msin6_len = sizeof(msin6); msin6.msin6_port = htons(44344); + msin6.msin6_scope_id = 0; memset(&msin6.msin6_addr, 0, sizeof(msin6.msin6_addr)); rc = mn_socket(&rx_sock, MN_PF_INET6, MN_SOCK_DGRAM, 0);
