diff options
author | Jo-Philipp Wich <jo@mein.io> | 2018-03-02 14:42:52 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2018-03-02 14:42:52 +0100 |
commit | bf49505ea0a07c35719a7b71f8212e547d999d62 (patch) | |
tree | 4e83740bc26795c5ca8a4f68fde7da1669b1cf86 /applications/luci-app-wireguard/po | |
parent | 852ec6e28bf90d67882cf909b15a91ecc4501b55 (diff) |
luci-base: properly handle undefined IPv6 local-address information
If IPv6 prefix assignment is disabled, the "local-address" structure
might exist, but be empty which causes the adress formatting in the
network model class to bail out.
Verify the completeness of the "local-address" structure before using
it in order to avoid runtime errors.
Fixes #1657.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'applications/luci-app-wireguard/po')
0 files changed, 0 insertions, 0 deletions