mirror of
https://github.com/arampoire/nut-rs.git
synced 2025-12-01 00:30:23 -05:00
Add debug mode to rupsc. Fixes to parsing.
This commit is contained in:
parent
d1d6b4e1a8
commit
52afe6bbd1
7 changed files with 129 additions and 79 deletions
|
|
@ -19,6 +19,7 @@ fn main() -> nut_client::Result<()> {
|
|||
let config = ConfigBuilder::new()
|
||||
.with_host(Host::Tcp(addr))
|
||||
.with_auth(auth)
|
||||
.with_debug(false) // Turn this on for debugging network chatter
|
||||
.build();
|
||||
|
||||
let mut conn = Connection::new(config)?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue