From 0edfbc3b41fc42855007e42301f01059d978692a Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Fri, 29 May 2015 15:06:38 +0200 Subject: [PATCH] (trafficshaper) change rule datatypes --- .../OPNsense/TrafficShaper/TrafficShaper.xml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) 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