save8021QPorts(): refine an assertion type
authorDenis Ovsienko <denis@ovsienko.info>
Fri, 18 May 2018 14:03:12 +0000 (15:03 +0100)
committerDenis Ovsienko <denis@ovsienko.info>
Fri, 18 May 2018 14:03:12 +0000 (15:03 +0100)
wwwroot/inc/ophandlers.php

index a9c654b..bef4f83 100644 (file)
@@ -2838,7 +2838,7 @@ function save8021QPorts ()
                        case 'access':
                                if ($native == 'same')
                                        continue 2;
-                               assertUIntArg ('pnv_' . $i);
+                               genericAssertion ('pnv_' . $i, 'vlan1');
                                $allowed = array ($native);
                                break;
                        default: