freebsd-nq/tools
Vincenzo Maffione eda8251188 netmap: pkt-gen: fix ifname before cmp in source_hwaddr
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>
2022-12-24 16:06:05 +00:00
..
boot full-test: Start of a full testing suite. 2022-12-02 11:08:11 -07:00
bsdbox bsdbox: remove previously broken telnet(d) support 2022-09-29 17:56:25 +01:00
build Always install llvm-objdump as objdump 2022-12-12 10:36:02 -05:00
bus_space Add support for Python 3 and make it the default. 2019-06-30 02:29:12 +00:00
coccinelle copystr(9): Move to deprecate (attempt #2) 2020-05-25 16:40:48 +00:00
debugscripts since kld_deb.py was removed a while back, this script isn't useful 2020-08-11 22:33:56 +00:00
diag Move the ability to search for alternate UFS superblocks from fsck_ffs(8) 2022-08-13 12:43:40 -07:00
ifnet Update DrvAPI convert script for new KPIs 2022-12-20 11:18:50 -05:00
kerneldoc twa: Remove 2021-11-25 00:45:13 -07:00
LibraryReport
lua Move ifconfig SFP status functionality into libifconfig 2020-08-09 16:27:28 +00:00
pkgbase pkgbase: report errors via metalog reader exit status 2022-11-25 09:13:31 -05:00
regression Track kern.ipc.somaxconn -> kern.ipc.soacceptqueue rename 2022-10-11 12:46:46 -04:00
sched schedgraph.py: port to Python 3 2022-01-11 15:32:39 +02:00
test tools/test/ptrace: update scescx to do remote getpid(2) on each SCX event 2022-12-22 23:32:09 +02:00
tools netmap: pkt-gen: fix ifname before cmp in source_hwaddr 2022-12-24 16:06:05 +00:00
uma/smrstress tools/uma/smrstress: fix kthread exit 2022-07-31 00:40:12 +03:00
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.