diff --git a/Makefile.dep b/Makefile.dep index b5ad4cc1c7..f7391c92b5 100644 --- a/Makefile.dep +++ b/Makefile.dep @@ -9,29 +9,29 @@ ifneq (,$(filter pnet,$(USEMODULE))) endif ifneq (,$(filter destiny,$(USEMODULE))) - USEMODULE += sixlowpan - USEMODULE += net_help - USEMODULE += vtimer + USEMODULE += sixlowpan + USEMODULE += net_help + USEMODULE += vtimer endif ifneq (,$(filter sixlowborder,$(USEMODULE))) - USEMODULE += sixlowpan + USEMODULE += sixlowpan endif ifneq (,$(filter rpl,$(USEMODULE))) - USEMODULE += routing + USEMODULE += routing endif ifneq (,$(filter routing,$(USEMODULE))) - USEMODULE += sixlowpan + USEMODULE += sixlowpan endif ifneq (,$(filter sixlowpan,$(USEMODULE))) - USEMODULE += ieee802154 - USEMODULE += net_help - USEMODULE += net_if - USEMODULE += posix - USEMODULE += vtimer + USEMODULE += ieee802154 + USEMODULE += net_help + USEMODULE += net_if + USEMODULE += posix + USEMODULE += vtimer endif ifneq (,$(filter posix,$(USEMODULE))) @@ -71,6 +71,7 @@ endif ifneq (,$(filter net_if,$(USEMODULE))) USEMODULE += transceiver + USEMODULE += net_help endif ifneq (,$(filter ccn_lite,$(USEMODULE))) diff --git a/sys/shell/commands/sc_net_if.c b/sys/shell/commands/sc_net_if.c index f431c56a45..5bd9ce1b17 100644 --- a/sys/shell/commands/sc_net_if.c +++ b/sys/shell/commands/sc_net_if.c @@ -627,6 +627,7 @@ void _net_if_ifconfig_list(int if_id) puts("\n"); } +#ifdef MODULE_SIXLOWPAN if (addr_ptr->addr_protocol & NET_IF_L3P_IPV6) { char addr_str[IPV6_MAX_ADDR_STR_LEN]; printf(" inet6 addr: "); @@ -660,6 +661,7 @@ void _net_if_ifconfig_list(int if_id) printf("error in conversion\n"); } } +#endif } puts("");