Update rpl.c
Very minor grammar / spelling edits to comments
This commit is contained in:
parent
7841eface3
commit
d62f51d9e7
|
@ -76,9 +76,9 @@ rpl_set_mode(enum rpl_mode m)
|
||||||
switching to. */
|
switching to. */
|
||||||
if(m == RPL_MODE_MESH) {
|
if(m == RPL_MODE_MESH) {
|
||||||
|
|
||||||
/* If we switcht to mesh mode, we should send out a DAO message to
|
/* If we switch to mesh mode, we should send out a DAO message to
|
||||||
inform our parent that we now are reachable. Before we do this,
|
inform our parent that we now are reachable. Before we do this,
|
||||||
we must set the mode variable, since DAOs will not be send if
|
we must set the mode variable, since DAOs will not be sent if
|
||||||
we are in feather mode. */
|
we are in feather mode. */
|
||||||
PRINTF("RPL: switching to mesh mode\n");
|
PRINTF("RPL: switching to mesh mode\n");
|
||||||
mode = m;
|
mode = m;
|
||||||
|
@ -139,7 +139,7 @@ rpl_purge_routes(void)
|
||||||
PRINTF("No more routes to ");
|
PRINTF("No more routes to ");
|
||||||
PRINT6ADDR(&prefix);
|
PRINT6ADDR(&prefix);
|
||||||
dag = default_instance->current_dag;
|
dag = default_instance->current_dag;
|
||||||
/* Propagate this information with a No-Path DAO to preferred parent if we are not a RPL Root */
|
/* Propagate this information with a No-Path DAO to preferred parent if we are not an RPL Root */
|
||||||
if(dag->rank != ROOT_RANK(default_instance)) {
|
if(dag->rank != ROOT_RANK(default_instance)) {
|
||||||
PRINTF(" -> generate No-Path DAO\n");
|
PRINTF(" -> generate No-Path DAO\n");
|
||||||
dao_output_target(dag->preferred_parent, &prefix, RPL_ZERO_LIFETIME);
|
dao_output_target(dag->preferred_parent, &prefix, RPL_ZERO_LIFETIME);
|
||||||
|
|
Loading…
Reference in a new issue