pluto: Fixed byte-order of ports in traffic selectors.

This commit is contained in:
Tobias Brunner
2010-09-02 19:04:23 +02:00
parent 80c0328eec
commit 9052216813
+1 -1
View File
@@ -180,7 +180,7 @@ static traffic_selector_t *traffic_selector_from_subnet(const ip_subnet *client,
host_t *net;
net = host_create_from_sockaddr((sockaddr_t*)&client->addr);
ts = traffic_selector_create_from_subnet(net, client->maskbits, proto,
portof(&client->addr));
net->get_port(net));
return ts;
}