Displaying 1 result from an estimated 1 matches for "vpn_mask".
Did you mean:
vm_mask
2000 Jun 23
2
tinc 0.3.3 vs. 1.0pre2
...king fine that way):
diff -u tinc-1.0pre2/src/netutl.c tinc-1.0pre2-i2c/src/netutl.c
--- tinc-1.0pre2/src/netutl.c Wed May 31 20:23:06 2000
+++ tinc-1.0pre2-i2c/src/netutl.c Fri Jun 23 14:14:42 2000
@@ -56,6 +56,9 @@
for(p = conn_list; p != NULL; p = p->next)
if(((ip & p->vpn_mask) == (p->vpn_ip & p->vpn_mask)) &&
p->status.active)
return p;
+ p = conn_list;
+ if(p->status.outgoing)
+ return p;
cp
return NULL;
}
This small patch causes everything to be sent to the uplink if we have an
outgoing connection.
Although this working fine...