Skip to content
Snippets Groups Projects
Commit 428a2187 authored by Michael Tüxen's avatar Michael Tüxen
Browse files

Allow automatic tun device selection on *BSD.

When using local mode on *BSD, using the tun0 device was hard
coded in contrast to Linux, where the next unused tun device
was used.
This patch changes the behaviour on *BSD to use the next unused
tun device. This also requires that the device is removed when
packetdrill terminates. This was the case on Linux, but not on
*BSD.
On *BSD there is also a new command line option (--tun-dev) to
set the device name and not select an ephemerial one.
parent a16b2c8d
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment