mirror of
https://github.com/ansible-collections/community.routeros.git
synced 2025-06-24 02:38:43 +02:00
parent
353027cb5c
commit
8eab877140
2 changed files with 2 additions and 2 deletions
|
@ -77,7 +77,7 @@ def _ros_api_connect(module, username, password, host, port, use_tls, force_no_c
|
|||
elif not validate_cert_hostname:
|
||||
ctx.check_hostname = False
|
||||
else:
|
||||
# Since librouteros doesn't pass server_hostname,
|
||||
# Since librouteros does not pass server_hostname,
|
||||
# we have to do this ourselves:
|
||||
def wrap_context(*args, **kwargs):
|
||||
kwargs.pop('server_hostname', None)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue