mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #9694 from naveenkaje/fix_icmpv6_warning
nanostack: icmpv6: fix build warningpull/9660/head
commit
9be82d96d8
|
@ -1084,7 +1084,7 @@ buffer_t *icmpv6_up(buffer_t *buf)
|
||||||
|
|
||||||
case ICMPV6_TYPE_INFO_ECHO_REPLY:
|
case ICMPV6_TYPE_INFO_ECHO_REPLY:
|
||||||
ipv6_neighbour_reachability_confirmation(buf->src_sa.address, buf->interface->id);
|
ipv6_neighbour_reachability_confirmation(buf->src_sa.address, buf->interface->id);
|
||||||
/* fall through */
|
/* fall through */
|
||||||
|
|
||||||
case ICMPV6_TYPE_ERROR_DESTINATION_UNREACH:
|
case ICMPV6_TYPE_ERROR_DESTINATION_UNREACH:
|
||||||
#ifdef HAVE_RPL_ROOT
|
#ifdef HAVE_RPL_ROOT
|
||||||
|
@ -1092,7 +1092,7 @@ buffer_t *icmpv6_up(buffer_t *buf)
|
||||||
buf = rpl_control_source_route_error_handler(buf, cur);
|
buf = rpl_control_source_route_error_handler(buf, cur);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
/* no break */
|
/* fall through */
|
||||||
|
|
||||||
default:
|
default:
|
||||||
if (buf) {
|
if (buf) {
|
||||||
|
|
Loading…
Reference in New Issue