mirror of
https://github.com/opnsense/plugins.git
synced 2026-06-08 16:34:18 -04:00
security/netbird: move validation message to help text
This commit is contained in:
parent
66845547dc
commit
453de9e8f3
2 changed files with 1 additions and 2 deletions
|
|
@ -20,7 +20,7 @@
|
|||
<label>Force IP Mapping</label>
|
||||
<type>text</type>
|
||||
<hint>12.34.56.78</hint>
|
||||
<help>Forces external IPs maps between local addresses and interfaces. You can specify a comma-separated list with a single IP or IP/IP or IP/Interface Name. Leave empty for automatic mapping.</help>
|
||||
<help>Forces external IPs maps between local addresses and interfaces. You can specify a comma-separated list with the following: a single IP (12.34.56.78), IP/IP (12.34.56.78/10.0.0.1) or IP/device (12.34.56.80/em1). Leave empty for automatic mapping.</help>
|
||||
<advanced>true</advanced>
|
||||
</field>
|
||||
<field>
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@
|
|||
<ipmapping type="TextField">
|
||||
<MaskPerItem>Y</MaskPerItem>
|
||||
<Mask>/^(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}(?:\/(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}|[a-zA-Z][a-zA-Z0-9_.-]*))?$/u</Mask>
|
||||
<ValidationMessage>Invalid syntax. E.g. 12.34.56.78 or 12.34.56.78/10.0.0.1 or 12.34.56.200,12.34.56.78/10.0.0.1,12.34.56.80/eth1</ValidationMessage>
|
||||
</ipmapping>
|
||||
</general>
|
||||
<firewall>
|
||||
|
|
|
|||
Loading…
Reference in a new issue