Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
e3da-public
contiki-ng
Commits
389a4f92
Commit
389a4f92
authored
Jan 25, 2011
by
joxe
Browse files
added rpl-all-nodes multicast address to nodes mcast addresses
parent
b15deeff
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/net/rpl/rpl.c
View file @
389a4f92
...
...
@@ -32,7 +32,7 @@
*
* This file is part of the Contiki operating system.
*
* $Id: rpl.c,v 1.1
4
201
0/12/15 14:35:07 nvt-s
e Exp $
* $Id: rpl.c,v 1.1
5
201
1/01/25 22:41:30 jox
e Exp $
*/
/**
* \file
...
...
@@ -203,10 +203,16 @@ rpl_ipv6_neighbor_callback(uip_ds6_nbr_t *nbr)
void
rpl_init
(
void
)
{
uip_ipaddr_t
rplmaddr
;
PRINTF
(
"RPL started
\n
"
);
rpl_reset_periodic_timer
();
neighbor_info_subscribe
(
rpl_link_neighbor_callback
);
/* add rpl multicast address */
uip_create_linklocal_rplnodes_mcast
(
&
rplmaddr
);
uip_ds6_maddr_add
(
&
rplmaddr
);
#if RPL_CONF_STATS
memset
(
&
rpl_stats
,
0
,
sizeof
(
rpl_stats
));
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment