LuCI - OpenWrt Configuration Interface
Révision | a6b8a37bbd678d18666aca3d1601c209ca2d6451 (tree) |
---|---|
l'heure | 2022-01-20 17:16:19 |
Auteur | Florian Eckert <fe@dev....> |
Commiter | GitHub |
Merge pull request #5650 from clayface/ipip-nohostroute
luci-proto-ipip: add nohostroute configurable
@@ -64,6 +64,10 @@ return network.registerProtocol('ipip', { | ||
64 | 64 | o.optional = true; |
65 | 65 | o.datatype = 'range(0, 255)'; |
66 | 66 | |
67 | - s.taboption('advanced', form.Flag, 'df', _("Don't Fragment"), _("Enable the DF (Don't Fragment) flag of the encapsulating packets.")); | |
67 | + o = s.taboption('advanced', form.Flag, 'df', _("Don't Fragment"), _("Enable the DF (Don't Fragment) flag of the encapsulating packets.")); | |
68 | + o.optional = true; | |
69 | + | |
70 | + o = s.taboption('advanced', form.Flag, 'nohostroute', _("No host route"), _("Do not create host route to peer (optional).")); | |
71 | + o.optional = true; | |
68 | 72 | } |
69 | 73 | }); |