summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/src/template_lmo.h
diff options
context:
space:
mode:
authorVladislav Grigoryev <vg.aetera@gmail.com>2021-09-04 00:24:48 +0300
committerVladislav Grigoryev <vg.aetera@gmail.com>2021-09-04 15:51:11 +0300
commit0be0f069077fb01038b34446afea510d26b8782e (patch)
tree3f04152ccaaa48c7c4c2af4d26c17468678c71a1 /modules/luci-base/src/template_lmo.h
parent4f7db0e2ec3016e01b9308fe68c4680c04250adb (diff)
luci-mod-network: fix route and rule options
Allow adding routes with unspecified interface. This is required for prohibit, blackhole and unreachable routes. Allow adding routes with loopback interface. This can work as a blackhole route. Fix netmask to prefix conversion for the routes. Identify the IP family by the UCI section type. Avoid setting the routing table textvalue for the rules. The rules should target none table unless specified otherwise. Signed-off-by: Vladislav Grigoryev <vg.aetera@gmail.com>
Diffstat (limited to 'modules/luci-base/src/template_lmo.h')
0 files changed, 0 insertions, 0 deletions