From 032ba13938194d6e9ff2d09bfa0cc5f3f48d69c7 Mon Sep 17 00:00:00 2001 From: Martin Date: Mon, 10 Jun 2013 17:39:11 +0200 Subject: [PATCH] fix ICMP type is DIS --- sys/net/sixlowpan/rpl/rpl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/net/sixlowpan/rpl/rpl.c b/sys/net/sixlowpan/rpl/rpl.c index b760964254..14d72486b3 100644 --- a/sys/net/sixlowpan/rpl/rpl.c +++ b/sys/net/sixlowpan/rpl/rpl.c @@ -293,7 +293,7 @@ void send_DIS(ipv6_addr_t *destination){ icmp_send_buf = get_rpl_send_icmpv6_buf(ipv6_ext_hdr_len); icmp_send_buf->type = ICMP_RPL_CONTROL; - icmp_send_buf->code = ICMP_CODE_DIO; + icmp_send_buf->code = ICMP_CODE_DIS; icmp_send_buf->checksum = ~icmpv6_csum(PROTO_NUM_ICMPV6); rpl_send_dis_buf = get_rpl_send_dis_buf();