security/netbird: move validation message to help text

This commit is contained in:
Franco Fichtner 2026-05-04 11:29:56 +02:00
parent 66845547dc
commit 453de9e8f3
2 changed files with 1 additions and 2 deletions

View file

@ -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>

View file

@ -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>