fixed compiler warning

This commit is contained in:
Martin Willi
2007-07-16 07:10:14 +00:00
parent cc68e173fe
commit 0308865282
+1 -1
View File
@@ -1537,7 +1537,7 @@ static host_t *get_route(private_kernel_interface_t *this, host_t *dest,
if (msg->rtm_table != IPSEC_ROUTING_TABLE if (msg->rtm_table != IPSEC_ROUTING_TABLE
&& msg->rtm_dst_len > best && msg->rtm_dst_len > best
&& (msg->rtm_dst_len == 0 || /* default route */ && (msg->rtm_dst_len == 0 || /* default route */
rta_dst.ptr && addr_in_subnet(chunk, rta_dst, msg->rtm_dst_len))) (rta_dst.ptr && addr_in_subnet(chunk, rta_dst, msg->rtm_dst_len))))
{ {
iterator_t *ifaces, *addrs; iterator_t *ifaces, *addrs;
iface_entry_t *iface; iface_entry_t *iface;