Skip to content

Commit baa5705

Browse files
authored
Merge pull request #85 from Grizzelbee/development
### 1.5.8 (2023-08-11) * (grizzelbee) Fix: Interface is now correctly set to offline if host is not reachable
2 parents 5c433ca + 109071f commit baa5705

File tree

4 files changed

+19
-2
lines changed

4 files changed

+19
-2
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,9 @@ Basically there are three ways to execute the command:
106106
## Changelog
107107
### **WORK IN PROGRESS**
108108

109+
### 1.5.8 (2023-08-11)
110+
* (grizzelbee) Fix: Interface is now correctly set to offline if host is not reachable.
111+
109112
### 1.5.7 (2023-08-10)
110113
* (grizzelbee) Fix: Added missing icon file
111114
* (grizzelbee) Fix: Some fixes to make iobroker.adapterchecker happy

io-package.json

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,21 @@
11
{
22
"common": {
33
"name": "wireguard",
4-
"version": "1.5.7",
4+
"version": "1.5.8",
55
"news": {
6+
"1.5.8": {
7+
"en": "Interface is now correctly set to offline if host is not reachable.",
8+
"de": "Die Schnittstelle wird jetzt korrekt auf offline gesetzt, wenn der Host nicht erreichbar ist.",
9+
"ru": "Интерфейс теперь корректно устанавливается в автономный режим, если хост недоступен.",
10+
"pt": "A interface agora está definida corretamente como offline se o host não estiver acessível.",
11+
"nl": "Interface is nu correct ingesteld op offline als host niet bereikbaar is.",
12+
"fr": "L'interface est maintenant correctement définie sur hors ligne si l'hôte n'est pas accessible.",
13+
"it": "L'interfaccia ora è impostata correttamente su offline se l'host non è raggiungibile.",
14+
"es": "La interfaz ahora está correctamente configurada como fuera de línea si no se puede acceder al host.",
15+
"pl": "Interfejs jest teraz prawidłowo ustawiony na tryb offline, jeśli host jest nieosiągalny.",
16+
"uk": "Інтерфейс тепер правильно налаштований на автономний режим, якщо хост недоступний.",
17+
"zh-cn": "如果无法访问主机,接口现在会正确设置为脱机。"
18+
},
619
"1.5.7": {
720
"en": "Added missing icon file\nSome fixes to make iobroker.adapterchecker happy\nAnother icon fix",
821
"de": "Fehlende Symboldatei hinzugefügt\nEinige Korrekturen, um iobroker.adapterchecker glücklich zu machen\nEine weitere Symbolkorrektur",

main.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ class Wireguard extends utils.Adapter {
126126
})
127127
.catch((err)=>{
128128
adapter.log.warn(err);
129+
adapter.setAllKnownInterfacesOffline(settings.hosts[host].name);
129130
});
130131
}, 1000 * settings.hosts[host].pollInterval));
131132
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "iobroker.wireguard",
3-
"version": "1.5.7",
3+
"version": "1.5.8",
44
"description": "Connect to WireGuard hosts and grab connection information on peers",
55
"author": {
66
"name": "grizzelbee",

0 commit comments

Comments
 (0)