You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The quick example at the main docs.rs page panics when run.
I needed to add interface.config_debug to make it runnable.
thread 'main' panicked at '`debug` is not an id of an argument or a group.
Make sure you're using the name of the argument itself and not the name of short or long flags.', /Users/yukl/Desktop/btsnoop-extcap/extcap-rs/src/lib.rs:560:40
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
The text was updated successfully, but these errors were encountered:
sidcha
added a commit
to goToMain/extcap-rs
that referenced
this issue
Jun 29, 2024
The exmaple provided in src/lib.rs panics because the code attempts look
for debug args when the interface does not have one. Fix this issue by
guarding these calls with the bool self.ifc_debug which indactes the
presnesce of those options.
Fixes: tkeksa#4
Signed-off-by: Siddharth Chandrasekaran <[email protected]>
The quick example at the main docs.rs page panics when run.
I needed to add
interface.config_debug
to make it runnable.The text was updated successfully, but these errors were encountered: