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:
parent
3fba38e47b
commit
3d9b656e8a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user