From 570309c457c556b2e6a05175ae44f98b02467dcd Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Sun, 5 Jun 2022 15:31:43 +0200 Subject: [PATCH] Interfaces: Other Types: VLAN - add unique constraint for tag+if, closes https://github.com/opnsense/core/issues/5806 --- .../mvc/app/models/OPNsense/Interfaces/Vlan.xml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/opnsense/mvc/app/models/OPNsense/Interfaces/Vlan.xml b/src/opnsense/mvc/app/models/OPNsense/Interfaces/Vlan.xml index 10bb1e64d..47c23efec 100644 --- a/src/opnsense/mvc/app/models/OPNsense/Interfaces/Vlan.xml +++ b/src/opnsense/mvc/app/models/OPNsense/Interfaces/Vlan.xml @@ -8,11 +8,25 @@ Y + + + tag.check001 + + 1 4094 Y + + + Tag should be unique for this interface + UniqueConstraint + + if + + + Y