shell: do not advertise reactively in 6ctx command

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.
This commit is contained in:
Martine Lenders 2017-11-17 16:17:29 +01:00
parent 582abd4e00
commit c5fc7c44cd
No known key found for this signature in database
GPG Key ID: 8E97A9FE55F25D62

View File

@ -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;
@ -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;
}