mirror of
				https://github.com/netbox-community/netbox.git
				synced 2024-05-10 07:54:54 +00:00 
			
		
		
		
	Fixes #8844: Correct VLAN ID max value
This commit is contained in:
		@@ -334,7 +334,7 @@ class PrefixFilterSet(PrimaryModelFilterSet, TenancyFilterSet):
 | 
			
		||||
    )
 | 
			
		||||
    vlan_vid = django_filters.NumberFilter(
 | 
			
		||||
        field_name='vlan__vid',
 | 
			
		||||
        label='VLAN number (1-4095)',
 | 
			
		||||
        label='VLAN number (1-4094)',
 | 
			
		||||
    )
 | 
			
		||||
    role_id = django_filters.ModelMultipleChoiceFilter(
 | 
			
		||||
        queryset=Role.objects.all(),
 | 
			
		||||
 
 | 
			
		||||
@@ -375,7 +375,7 @@ class VLANCSVForm(CustomFieldModelCSVForm):
 | 
			
		||||
        model = VLAN
 | 
			
		||||
        fields = ('site', 'group', 'vid', 'name', 'tenant', 'status', 'role', 'description')
 | 
			
		||||
        help_texts = {
 | 
			
		||||
            'vid': 'Numeric VLAN ID (1-4095)',
 | 
			
		||||
            'vid': 'Numeric VLAN ID (1-4094)',
 | 
			
		||||
            'name': 'VLAN name',
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user