eda8251188
In source_hwaddr(), the configured ifname is compared against all interfaces. However, in main(), the string 'netmap:' is prepended to the interface string if no explicit type is given. Therefore the ifname will not match any system interface and the source MAC address is always empty. Check for the leading 'netmap:' string and skip past it to match against system interfaces. Note that 'tap:' and 'pcap:' devices strip the type string from the ifname in main() so no further work is needed. MFC after: 7 days Submitted by: Brian Poole <brian90013@gmail.com> |
||
---|---|---|
.. | ||
boot | ||
bsdbox | ||
build | ||
bus_space | ||
coccinelle | ||
debugscripts | ||
diag | ||
ifnet | ||
kerneldoc | ||
LibraryReport | ||
lua | ||
pkgbase | ||
regression | ||
sched | ||
test | ||
tools | ||
uma/smrstress | ||
install.sh | ||
make_libdeps.sh | ||
README | ||
tinder.sh |
$FreeBSD$ This directory tree contains tools used for the maintenance and testing of FreeBSD. There is no toplevel Makefile structure since these tools are not meant to be built as part of the standard system, though there may be individual Makefiles in some of the subdirs. Please read the README files in the subdirs for further information.