u-root / iscsinl

Go iSCSI initiator netlink library
BSD 3-Clause "New" or "Revised" License
16 stars 6 forks source link

Expose the SessionID through the session object? #15

Open jlowellwofford opened 3 years ago

jlowellwofford commented 3 years ago

Session IDs (aka connection IDs) are global to the OS and are needed to tearDown a connection (when we no longer have a reference to a session object). It seems like this should have an accessor, at least, and should probably be printed in the CLI.