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:
commit
ec671c0a32
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user