-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Avoid using NetBIOS when direct_tcp is set to True #25
Avoid using NetBIOS when direct_tcp is set to True #25
Conversation
d2163fd
to
88b417c
Compare
Codecov Report
@@ Coverage Diff @@
## master #25 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 5 5
Lines 444 447 +3
=========================================
+ Hits 444 447 +3
Continue to review full report at Codecov.
|
An alternative solution would be to set |
Hi @frafra, Sorry for the delay! I'd be in favor of the following solution:
This way we can keep the code duplication minimal, while still supporting swapping the IP and host in the input tuple, and properly report if one of the two is missing like before. |
6cc100d
to
e4246d5
Compare
e4246d5
to
250adc3
Compare
@althonos no worries :) It seems OK to me now. |
Thanks! I added some extra tests just to make sure it works as expected. |
Fix #24.