fix: iface -> interface in VPN service (#1376)
This commit is contained in:
parent
f924dbfbbb
commit
673b096261
1 changed files with 2 additions and 2 deletions
|
|
@ -25,7 +25,7 @@ Singleton {
|
||||||
}
|
}
|
||||||
readonly property bool isCustomProvider: typeof providerInput === "object"
|
readonly property bool isCustomProvider: typeof providerInput === "object"
|
||||||
readonly property string providerName: isCustomProvider ? (providerInput.name || "custom") : String(providerInput)
|
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: {
|
readonly property var currentConfig: {
|
||||||
const name = providerName;
|
const name = providerName;
|
||||||
const iface = interfaceName;
|
const iface = interfaceName;
|
||||||
|
|
@ -36,7 +36,7 @@ Singleton {
|
||||||
return {
|
return {
|
||||||
connectCmd: custom.connectCmd || defaults.connectCmd,
|
connectCmd: custom.connectCmd || defaults.connectCmd,
|
||||||
disconnectCmd: custom.disconnectCmd || defaults.disconnectCmd,
|
disconnectCmd: custom.disconnectCmd || defaults.disconnectCmd,
|
||||||
interface: custom.iface || defaults.interface,
|
interface: custom.interface || defaults.interface,
|
||||||
displayName: custom.displayName || defaults.displayName
|
displayName: custom.displayName || defaults.displayName
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue