normalize clamp_mss extras value to a boolean, even if saved as a string
2 files changed, 7 insertions(+), 2 deletions(-) M src/components/interface/interface-advanced-panel.vue M src/components/interface/interface-edit-panel.vue
M src/components/interface/interface-advanced-panel.vue => src/components/interface/interface-advanced-panel.vue +6 -2
@@ 115,10 115,14 @@ export default { return this.routing.meta.expected || {} }, extras() { return this.routing.attr.extras || {} const extras = this.routing.attr.extras || {} extras.clamp_mss = extras.clamp_mss && extras.clamp_mss !== 'false' return extras }, extrasExpected() { return this.expected.extras || {} const extras = this.expected.extras || {} extras.clamp_mss = extras.clamp_mss && extras.clamp_mss !== 'false' return extras }, iface() { return this.model
M src/components/interface/interface-edit-panel.vue => src/components/interface/interface-edit-panel.vue +1 -0
@@ 361,6 361,7 @@ export default { const iface = v.meta.expected || v.attr const routing = v.rel('routing').meta.expected || v.rel('routing').attr const extras = routing.extras || {} extras.clamp_mss = extras.clamp_mss && extras.clamp_mss !== 'false' this.up = !edit || !!iface.up this.name = iface.name || ''