luci-base: handle potential crash in luci.model.network.interface.get_i18n()
authorJo-Philipp Wich <jo@mein.io>
Sat, 19 May 2018 20:11:05 +0000 (22:11 +0200)
committerJo-Philipp Wich <jo@mein.io>
Sat, 19 May 2018 20:11:08 +0000 (22:11 +0200)
commit64da34b13c518ce28dca7d5f7ee791507d21ac08
treeac90a3ec691c7be8617480d94463d4e2531ee86a
parent9ed48ef2a62df5406c589ef9a43da51df8d9645c
luci-base: handle potential crash in luci.model.network.interface.get_i18n()

Should prevent the crash mentioned in #1779.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/luasrc/model/network.lua