diff --git a/vnt-jni/src/lib.rs b/vnt-jni/src/lib.rs index d6eaaff..4bf7aea 100644 --- a/vnt-jni/src/lib.rs +++ b/vnt-jni/src/lib.rs @@ -917,8 +917,6 @@ fn parse_config_from_json(json_str: &str) -> anyhow::Result { no_nat: bool, #[serde(default)] device_mode: DeviceMode, - #[serde(default, rename = "no_tun")] - legacy_no_tun: Option, #[serde(default)] mtu: Option, #[serde(default)] @@ -934,9 +932,6 @@ fn parse_config_from_json(json_str: &str) -> anyhow::Result { } let cfg: ConfigJson = serde_json::from_str(json_str)?; - if cfg.legacy_no_tun.is_some() { - anyhow::bail!("configuration key 'no_tun' was removed; use device_mode = \"no|tun|tap\""); - } let server_addrs: Vec = cfg .server diff --git a/vnt-web/ui/src/views/ConfigEditor.vue b/vnt-web/ui/src/views/ConfigEditor.vue index 7db7e34..27923fa 100644 --- a/vnt-web/ui/src/views/ConfigEditor.vue +++ b/vnt-web/ui/src/views/ConfigEditor.vue @@ -504,7 +504,7 @@ const sectionTitleClass = "text-md mb-4 flex items-center font-bold text-slate-9