diff --git a/src/opnsense/mvc/app/models/OPNsense/TrafficShaper/TrafficShaper.xml b/src/opnsense/mvc/app/models/OPNsense/TrafficShaper/TrafficShaper.xml index c117f8919..711f14c19 100644 --- a/src/opnsense/mvc/app/models/OPNsense/TrafficShaper/TrafficShaper.xml +++ b/src/opnsense/mvc/app/models/OPNsense/TrafficShaper/TrafficShaper.xml @@ -49,12 +49,14 @@ origin should be regular text of max 30 characters - N + Y + /^(.){1,255}$/ + Description should be a string between 1 and 255 characters - + 1 1000000 @@ -62,9 +64,12 @@ Y 1 - + Y wan + + ^(?!0).*$ + Y @@ -77,7 +82,7 @@ tcp - + Y any @@ -85,7 +90,7 @@ Y any - + Y any