Guus Sliepen
a39a9506cd
Move free()s at the end om main() to the proper destructor functions.
2009-01-09 12:36:06 +01:00
Guus Sliepen
b069da90d6
Consistently allocate device and iface variables on the heap.
...
This fixes a segfault when no Device has been specified and tinc exits, and it
would try to free() a static string. Thanks to Borg for spottin.
2009-01-03 22:06:10 +01:00
Guus Sliepen
e9576632dc
Update copyright information.
2008-12-22 20:27:52 +00:00
Guus Sliepen
c6830ba821
Use TUNIFHEAD by default on FreeBSD to make sure IPv6 works.
2008-12-22 19:33:37 +00:00
Guus Sliepen
a269ec4193
Treat virtual network device as tap if Mode = switch or hub.
...
On OpenBSD, the link0 flag should still be set in tinc-up or by other means.
2008-12-21 16:19:31 +00:00
Guus Sliepen
a1e72f84d0
Update copyright notices.
2007-01-05 13:18:36 +00:00
Guus Sliepen
5214ece030
Fix generic BSD tun device to write only the actual packet length.
...
Due to a copy&paste bug, it tried to write a packet with the maximum size.
This was not a problem until the maximum size was increased to support VLANs.
2007-01-05 04:49:02 +00:00
Guus Sliepen
de78d79db8
Update copyright notices, remove Ivo's email address.
2006-04-26 13:52:58 +00:00
Guus Sliepen
df3220a154
Update copyright notices.
2005-05-04 18:09:30 +00:00
Guus Sliepen
d8fe2ecdd8
Set BSD tuns to broadcast mode. On OpenBSD, this enables IPv6 on the tun device!
2004-11-10 23:20:59 +00:00
Guus Sliepen
82b29e9a3b
Generic device driver for *BSD and MacOS/X
2004-11-01 17:01:56 +00:00