Niclas Finne | 12 Jun 2012 17:04
Picon

[f177284] Makefile: Added option to specify the IPv6 prefix

Summary of changes:
 examples/ipv6/rpl-border-router/Makefile |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

- Log -----------------------------------------------------------------
commit f177284a733c9a932c8a2a2fce3e1041c4ba85fe
Author: Niclas Finne <nfi@...>
Date:   Thu Jun 7 14:21:13 2012 +0200

    Added option to specify the IPv6 prefix

diff --git a/examples/ipv6/rpl-border-router/Makefile b/examples/ipv6/rpl-border-router/Makefile
index c166000..43230a1 100644
--- a/examples/ipv6/rpl-border-router/Makefile
+++ b/examples/ipv6/rpl-border-router/Makefile
 <at>  <at>  -34,13 +34,17  <at>  <at>  APPS += $(WITH_WEBSERVER)
 CFLAGS += -DWEBSERVER=2
 endif

+ifeq ($(PREFIX),)
+ PREFIX = aaaa::1/64
+endif
+
 include $(CONTIKI)/Makefile.include

 $(CONTIKI)/tools/tunslip6:	$(CONTIKI)/tools/tunslip6.c
 	(cd $(CONTIKI)/tools && $(MAKE) tunslip6)

 connect-router:	$(CONTIKI)/tools/tunslip6
-	sudo $(CONTIKI)/tools/tunslip6 aaaa::1/64
(Continue reading)


Gmane