https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273715

--- Comment #12 from Mark Johnston <ma...@freebsd.org> ---
Oh, I see.  It turns out that the ifnet pointer is optional, debugnet_connect()
will derive the correct ifnet using other netdump parameters, plus the routing
table.  So to provide the old behaviour we should continue if ifunit_ref()
returns NULL (and maybe print a warning...?), or look up ifnets by device name
as well.

But this also means that to configure netdump, you don't need an interface name
at all.  But the rc.d/dumpon script requires it (you need to set "dumpdev" to
something).  So yes, maybe we should have a rc.d/netdump script instead...

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to