Merge pull request #381 from yatch/pr/shell-add-guard

shell: add missing UIP_CONF_IPV6_RPL guard
This commit is contained in:
Simon Duquennoy 2018-03-27 20:39:42 +02:00 committed by GitHub
commit f1b65d86fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -337,6 +337,7 @@ PT_THREAD(cmd_help(struct pt *pt, shell_output_func output, char *args))
PT_END(pt); PT_END(pt);
} }
#if UIP_CONF_IPV6_RPL
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
static static
PT_THREAD(cmd_rpl_set_root(struct pt *pt, shell_output_func output, char *args)) PT_THREAD(cmd_rpl_set_root(struct pt *pt, shell_output_func output, char *args))
@ -415,6 +416,7 @@ PT_THREAD(cmd_rpl_local_repair(struct pt *pt, shell_output_func output, char *ar
PT_END(pt); PT_END(pt);
} }
#endif /* UIP_CONF_IPV6_RPL */
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
static static
PT_THREAD(cmd_ipaddr(struct pt *pt, shell_output_func output, char *args)) PT_THREAD(cmd_ipaddr(struct pt *pt, shell_output_func output, char *args))