Fix compile error introduced in c2103e3 (fixes #138)

This commit is contained in:
Andrew Bettison 2018-05-17 10:57:34 +09:30
parent d02bf3b7b9
commit 90e338f239

View File

@ -1439,7 +1439,7 @@ static void mdp_interface_packet(struct socket_address *client, struct mdp_heade
break;
}
bcopy(ob_get_bytes_ptr(payload, addr.addrlen), addr.raw, addr.addrlen);
struct network_destination *destination = create_unicast_destination(&addr, state->interface);
struct network_destination *destination = create_unicast_destination(&addr, interface);
if (!destination)
break;
overlay_send_probe(NULL, destination, OQ_ORDINARY);