From ddc30614902d65581f6935d3bf6b74d923c9cf68 Mon Sep 17 00:00:00 2001 From: xinnige Date: Thu, 30 Oct 2025 10:33:56 +0800 Subject: [PATCH] Fix dns6 update event --- plugins/interface/intf_base_plugin.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/plugins/interface/intf_base_plugin.js b/plugins/interface/intf_base_plugin.js index 07638660..36f78d45 100644 --- a/plugins/interface/intf_base_plugin.js +++ b/plugins/interface/intf_base_plugin.js @@ -1650,7 +1650,12 @@ class InterfaceBasePlugin extends Plugin { await this.applyDnsSettings().then(() => this.updateRouteForDNS()).catch((err) => { this.log.error(`Failed to apply DNS settings and update DNS route on ${this.name}`, err.message); }); - // this.propagateConfigChanged(true); + this.propagateConfigChanged(true); + this._reapplyNeeded = false; + pl.scheduleReapply(); + return pl.publishIfaceChangeApplied(); + }).catch((err) => { + this.log.error(`Failed to apply DNSv6 settings on ${this.name}`, err.message); }); } break;