fix: iface -> interface in VPN service (#1376)

This commit is contained in:
Robin Seger 2026-04-06 11:18:30 +02:00 committed by GitHub
parent f924dbfbbb
commit 673b096261
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -25,7 +25,7 @@ Singleton {
}
readonly property bool isCustomProvider: typeof providerInput === "object"
readonly property string providerName: isCustomProvider ? (providerInput.name || "custom") : String(providerInput)
readonly property string interfaceName: isCustomProvider ? (providerInput.iface || "") : ""
readonly property string interfaceName: isCustomProvider ? (providerInput.interface || "") : ""
readonly property var currentConfig: {
const name = providerName;
const iface = interfaceName;
@ -36,7 +36,7 @@ Singleton {
return {
connectCmd: custom.connectCmd || defaults.connectCmd,
disconnectCmd: custom.disconnectCmd || defaults.disconnectCmd,
interface: custom.iface || defaults.interface,
interface: custom.interface || defaults.interface,
displayName: custom.displayName || defaults.displayName
};
}