Skip to content

Commit

Permalink
luci-mod-network: routes.js: make interface setting optional
Browse files Browse the repository at this point in the history
  • Loading branch information
jow- committed Aug 30, 2024
1 parent dab4092 commit 648a099
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ return view.extend({
o = s.taboption('general', widgets.NetworkSelect, 'interface', _('Interface'), _('Specifies the logical interface name of the parent (or master) interface this route belongs to'));
o.loopback = true;
o.nocreate = true;
o.rmempty = false;
o.rmempty = true;

o = s.taboption('general', form.ListValue, 'type', _('Route type'), _('Specifies the route type to be created'));
o.modalonly = true;
Expand Down

0 comments on commit 648a099

Please sign in to comment.