You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ma...@apache.org on 2016/11/30 16:57:51 UTC
[03/16] incubator-mynewt-core git commit: mn_socket;
add comment saying interface index cannot be 0.
mn_socket; add comment saying interface index cannot be 0.
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/ae888434
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/ae888434
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/ae888434
Branch: refs/heads/develop
Commit: ae8884340dae247005bae98359816bf01efc39f5
Parents: 51dfe83
Author: Marko Kiiskila <ma...@runtime.io>
Authored: Mon Nov 28 10:39:03 2016 -0800
Committer: Marko Kiiskila <ma...@runtime.io>
Committed: Wed Nov 30 08:45:23 2016 -0800
----------------------------------------------------------------------
net/ip/mn_socket/include/mn_socket/mn_socket.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/ae888434/net/ip/mn_socket/include/mn_socket/mn_socket.h
----------------------------------------------------------------------
diff --git a/net/ip/mn_socket/include/mn_socket/mn_socket.h b/net/ip/mn_socket/include/mn_socket/mn_socket.h
index 9d0ac42..b21bc33 100644
--- a/net/ip/mn_socket/include/mn_socket/mn_socket.h
+++ b/net/ip/mn_socket/include/mn_socket/mn_socket.h
@@ -126,7 +126,7 @@ extern const uint32_t nm_in6addr_any[4];
* Structure for multicast join/leave
*/
struct mn_mreq {
- uint8_t mm_idx; /* interface index */
+ uint8_t mm_idx; /* interface index; must not be 0 */
uint8_t mm_family; /* address family */
union {
struct mn_in_addr v4;