From 35cf255330034d9f6f29edc6063eec192a47916c Mon Sep 17 00:00:00 2001 From: Yonezawa-T2 Date: Wed, 30 Mar 2016 14:15:42 +0900 Subject: [PATCH] rpl: fix compile error in DEBUG --- sys/net/gnrc/routing/rpl/gnrc_rpl_control_messages.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/net/gnrc/routing/rpl/gnrc_rpl_control_messages.c b/sys/net/gnrc/routing/rpl/gnrc_rpl_control_messages.c index e9bf29addd..6c64220a09 100644 --- a/sys/net/gnrc/routing/rpl/gnrc_rpl_control_messages.c +++ b/sys/net/gnrc/routing/rpl/gnrc_rpl_control_messages.c @@ -621,7 +621,7 @@ void gnrc_rpl_recv_DIO(gnrc_rpl_dio_t *dio, kernel_pid_t iface, ipv6_addr_t *src if (!(configured_addr = gnrc_ipv6_netif_match_prefix(dodag->iface, &dodag->dodag_id))) { DEBUG("RPL: no IPv6 address configured to match the given dodag id: %s\n", - ipv6_addr_to_str(addr_str, dodag_id, sizeof(addr_str))); + ipv6_addr_to_str(addr_str, &(dodag->dodag_id), sizeof(addr_str))); gnrc_rpl_instance_remove(inst); return; }