Skip to content

Commit

Permalink
Merge pull request #85 from Grizzelbee/development
Browse files Browse the repository at this point in the history
### 1.5.8 (2023-08-11)
* (grizzelbee) Fix: Interface is now correctly set to offline if host is not reachable
  • Loading branch information
Grizzelbee committed Aug 11, 2023
2 parents 5c433ca + 109071f commit baa5705
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 2 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@ Basically there are three ways to execute the command:
## Changelog
### **WORK IN PROGRESS**

### 1.5.8 (2023-08-11)
* (grizzelbee) Fix: Interface is now correctly set to offline if host is not reachable.

### 1.5.7 (2023-08-10)
* (grizzelbee) Fix: Added missing icon file
* (grizzelbee) Fix: Some fixes to make iobroker.adapterchecker happy
Expand Down
15 changes: 14 additions & 1 deletion io-package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,21 @@
{
"common": {
"name": "wireguard",
"version": "1.5.7",
"version": "1.5.8",
"news": {
"1.5.8": {
"en": "Interface is now correctly set to offline if host is not reachable.",
"de": "Die Schnittstelle wird jetzt korrekt auf offline gesetzt, wenn der Host nicht erreichbar ist.",
"ru": "Интерфейс теперь корректно устанавливается в автономный режим, если хост недоступен.",
"pt": "A interface agora está definida corretamente como offline se o host não estiver acessível.",
"nl": "Interface is nu correct ingesteld op offline als host niet bereikbaar is.",
"fr": "L'interface est maintenant correctement définie sur hors ligne si l'hôte n'est pas accessible.",
"it": "L'interfaccia ora è impostata correttamente su offline se l'host non è raggiungibile.",
"es": "La interfaz ahora está correctamente configurada como fuera de línea si no se puede acceder al host.",
"pl": "Interfejs jest teraz prawidłowo ustawiony na tryb offline, jeśli host jest nieosiągalny.",
"uk": "Інтерфейс тепер правильно налаштований на автономний режим, якщо хост недоступний.",
"zh-cn": "如果无法访问主机,接口现在会正确设置为脱机。"
},
"1.5.7": {
"en": "Added missing icon file\nSome fixes to make iobroker.adapterchecker happy\nAnother icon fix",
"de": "Fehlende Symboldatei hinzugefügt\nEinige Korrekturen, um iobroker.adapterchecker glücklich zu machen\nEine weitere Symbolkorrektur",
Expand Down
1 change: 1 addition & 0 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ class Wireguard extends utils.Adapter {
})
.catch((err)=>{
adapter.log.warn(err);
adapter.setAllKnownInterfacesOffline(settings.hosts[host].name);
});
}, 1000 * settings.hosts[host].pollInterval));
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "iobroker.wireguard",
"version": "1.5.7",
"version": "1.5.8",
"description": "Connect to WireGuard hosts and grab connection information on peers",
"author": {
"name": "grizzelbee",
Expand Down

0 comments on commit baa5705

Please sign in to comment.