Skip to content

Commit

Permalink
shell: do not advertise reactively in 6ctx command
Browse files Browse the repository at this point in the history
After thinking about it a bit, I decided to remove the reactive
advertisement of context information all together in the shell command.
RFC 6775 does not explicitly forbids, but it discourages multicast RAs,
which would be the alternative.
  • Loading branch information
miri64 committed Nov 17, 2017
1 parent 582abd4 commit c5fc7c4
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions sys/shell/commands/sc_gnrc_6ctx.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,6 @@ int _gnrc_6ctx_list(void)
return 0;
}

static void _adv_ctx(void)
{
/* TODO: update NIB, send router advertisement */
}

int _gnrc_6ctx_add(char *cmd_str, char *ctx_str, char *prefix_str, char *ltime_str)
{
ipv6_addr_t prefix;
Expand Down Expand Up @@ -99,8 +94,6 @@ int _gnrc_6ctx_add(char *cmd_str, char *ctx_str, char *prefix_str, char *ltime_s
puts("ERROR: can not add context");
return 1;
}
/* advertise new/updated context */
_adv_ctx();
return 0;
}

Expand Down

0 comments on commit c5fc7c4

Please sign in to comment.