1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

gnrc/ndp: fix warning about double parentheses

This commit is contained in:
Thomas Eichinger 2015-08-19 22:23:49 +02:00
parent 3fba38e47b
commit 3d9b656e8a

View File

@ -87,7 +87,7 @@ kernel_pid_t gnrc_ndp_node_next_hop_l2addr(uint8_t *l2addr, uint8_t *l2addr_len,
}
#endif
if ((next_hop_ip == NULL)) { /* no route to host */
if (next_hop_ip == NULL) { /* no route to host */
if (iface == KERNEL_PID_UNDEF) {
/* gnrc_ipv6_netif_t doubles as prefix list */
iface = gnrc_ipv6_netif_find_by_prefix(&prefix, dst);