Merge pull request #8077 from miri64/shell/fix/6ctx-no-rtr-adv

shell: do not advertise reactively in 6ctx command
This commit is contained in:
Cenk Gündoğan 2017-11-19 02:22:31 +01:00 committed by GitHub
commit ec671c0a32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,11 +57,6 @@ int _gnrc_6ctx_list(void)
return 0; 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) int _gnrc_6ctx_add(char *cmd_str, char *ctx_str, char *prefix_str, char *ltime_str)
{ {
ipv6_addr_t prefix; 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"); puts("ERROR: can not add context");
return 1; return 1;
} }
/* advertise new/updated context */
_adv_ctx();
return 0; return 0;
} }