This commit is contained in:
Gilles Boccon-Gibod
2024-05-12 11:54:16 -07:00
parent f910a696ad
commit 999d7b07e1
4 changed files with 98 additions and 30 deletions

View File

@@ -734,7 +734,13 @@ class DLC(EventEmitter):
self.emit('close')
def __str__(self) -> str:
return f'DLC(dlci={self.dlci},state={self.state.name})'
return (
f'DLC(dlci={self.dlci}, '
f'state={self.state.name}, '
f'max_frame_size={self.max_frame_size}, '
f'window_size={self.window_size}'
')'
)
# -----------------------------------------------------------------------------