Project

General

Profile

Bug #3926

clearing MTU field on interface doesn't set back to default

Added by Chris Buechler over 4 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Category:
Interfaces
Target version:
Start date:
10/10/2014
Due date:
% Done:

100%

Estimated time:
Affected Version:
All
Affected Architecture:

Description

If you set an interface's MTU on interfaces.php, save and apply changes, then clear the MTU field so there is nothing in it and save and apply changes again, the MTU doesn't change back to the interface's default as the text says it will use until you reboot.

For instance, set an Ethernet interface to 9000, save and apply and you'll see 9000 in ifconfig. Blank out the MTU field, save and apply changes, and it should switch back to 1500. You'll see it stays at 9000.

Work around: set 1500 there instead of just clearing the field, and it'll be correctly updated.

Not a regression, not targeting 2.2.

Associated revisions

Revision c399d0dd (diff)
Added by Renato Botelho over 3 years ago

Restore default MTU when field is cleared. Fixes #3926

History

#1 Updated by Renato Botelho over 4 years ago

  • Target version set to 2.3

#2 Updated by Jim Thompson over 4 years ago

  • Assignee set to Renato Botelho

#3 Updated by Chris Buechler over 3 years ago

  • Status changed from New to Confirmed

#4 Updated by Renato Botelho over 3 years ago

  • Status changed from Confirmed to Feedback
  • % Done changed from 0 to 100

#5 Updated by Chris Buechler over 3 years ago

  • Status changed from Feedback to Resolved

fixed

Also available in: Atom PDF