VPN: OpenVPN: Instances - only show "Compression migrate" and "Persist address pool" in server mode, minor change for https://github.com/opnsense/core/pull/8396

This commit is contained in:
Ad Schellevis 2025-03-05 20:25:02 +01:00
parent 4d9739d68a
commit e7ad0a4fcb

View File

@ -649,6 +649,7 @@ Set to 0 to disable, remember to change your client as well.
<label>Compression migrate</label>
<type>checkbox</type>
<advanced>true</advanced>
<style>role role_server</style>
<help>Conditionally use stub compression for clients configured with compression. This functionality is deprecated in OpenVPN.</help>
<grid_view>
<visible>false</visible>
@ -661,6 +662,7 @@ Set to 0 to disable, remember to change your client as well.
<label>Persist address pool</label>
<type>checkbox</type>
<advanced>true</advanced>
<style>role role_server</style>
<help>Save ip address pool to disk</help>
<grid_view>
<visible>false</visible>