schema: nwfilter: Allow all accepted values for 'ipsetflags'

The parser for the 'ipsetflags' accepts the 'src' and 'dst' values
stripping case. Express the same in the schema to pass validation of any
accepted string.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
Peter Krempa 2020-10-07 15:37:40 +02:00
parent 59d847b578
commit 4d57aee9ad

View File

@ -980,7 +980,7 @@
<define name="ipset-flags-type">
<data type="string">
<param name="pattern">(src|dst)(,(src|dst)){0,5}</param>
<param name="pattern">([Ss][Rr][Cc]|[Dd][Ss][Tt])(,([Ss][Rr][Cc]|[Dd][Ss][Tt])){0,5}</param>
</data>
</define>
</grammar>