Skip to content
Snippets Groups Projects
Michael Tuexen's avatar
Michael Tüxen authored
For FreeBSD use ioctl() to set the speed and mtu of the tun
interface instead of the Linux specific ethtool for the speed.
Also ensure that you can set the MTU to the default value in
case it is configured to a different one.
On non-FreeBSD platforms restore the old behaviour.
This fixes https://github.com/nplab/packetdrill/issues/17
d4ebed7e
History
Name Last commit Last update
gtests/net/packetdrill
README.md

packetdrill

A fork of packetdrill which adds support for

and generic bugfixes. This version especially fixes some bugs showing up when running packetdrill on FreeBSD. Currently it only supports single-homing.