mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
dns/ddclient: whitespace and changelog
This commit is contained in:
@@ -9,6 +9,7 @@ Plugin Changelog
|
||||
1.23
|
||||
|
||||
* Add dashboard widget
|
||||
* Refactored IP matching (contributed by Rob van Oostenrijk)
|
||||
|
||||
1.22
|
||||
|
||||
|
||||
@@ -82,7 +82,7 @@ def checkip(service, proto='https', timeout='10', interface=None):
|
||||
if interface is not None:
|
||||
params.append("--interface")
|
||||
params.append(interface)
|
||||
url = checkip_service_list[service] % proto
|
||||
url = checkip_service_list[service] % proto
|
||||
params.append(url)
|
||||
return extract_address(urlparse(url).hostname,
|
||||
subprocess.run(params, capture_output=True, text=True).stdout)
|
||||
|
||||
Reference in New Issue
Block a user