diff options
| author | MetaCubeX <[email protected]> | 2022-11-03 00:54:34 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-11-03 00:54:34 +0800 |
| commit | de69f7cc45b935796f7ede1ebcd0de9706bfcfb7 (patch) | |
| tree | efdf8eaed7304a4fbe7e0bc0fd9ef67a547feaa7 | |
| parent | 96fae71597fb4583046c3fb8c6091089d12efca4 (diff) | |
Update Config.tsx
| -rw-r--r-- | src/components/Config.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/Config.tsx b/src/components/Config.tsx index a9ee04f..1c1ca02 100644 --- a/src/components/Config.tsx +++ b/src/components/Config.tsx @@ -67,6 +67,7 @@ const modeOptions = [ const tunStackOptions = [ ['gvisor', 'gVisor'], ['system', 'System'], + ['lwip', 'LWIP'], ]; const mapState = (s: State) => ({ @@ -308,7 +309,7 @@ function ConfigImpl({ <div className={s0.label}>TUN IP Stack</div> <Select options={tunStackOptions} - selected={configState['tun']?.stack} + selected={configState['tun']?.stack.toLowerCase()} onChange={(e) => handleChangeValue({ name: 'stack', value: e.target.value }) } |
