Fixes #2354: Increased maximum MTU for interfaces to 65536 bytes

This commit is contained in:
Jeremy Stretch
2018-08-22 10:25:07 -04:00
parent aa50e2e385
commit 66400a98f1
3 changed files with 22 additions and 1 deletions

View File

@@ -1809,9 +1809,10 @@ class Interface(ComponentModel):
blank=True,
verbose_name='MAC Address'
)
mtu = models.PositiveSmallIntegerField(
mtu = models.PositiveIntegerField(
blank=True,
null=True,
validators=[MinValueValidator(1), MaxValueValidator(65536)],
verbose_name='MTU'
)
mgmt_only = models.BooleanField(