node = (unsigned int) endpoint->destination;
port = (unsigned int) endpoint->stream_id;
- attr = (fwp_endpoint_attr_t*) endpoint->protocol_info.body;
+ attr = (fwp_endpoint_attr_t*) endpoint->endpoint_protocol_info.send.body;
rv = fwp_send_endpoint_create(node, port, attr, &fwp_epoint);
if (rv)
return rv;
int fwp_fna_send_endpoint_bind(fna_endpoint_data_t *endpoint, fna_vres_id_t vres)
{
return fwp_send_endpoint_bind(endpoint->protocol_info.body,
- (fwp_vres_t*) vres);
+ (fwp_endpoint_t*) vres);
}
int fwp_fna_send_endpoint_unbind(fna_endpoint_data_t *endpoint)