Skip to content
Commit 3ac4f567 authored by Jan Hoffmann's avatar Jan Hoffmann
Browse files

luci-app-vnstat2: use more efficient way to get database interfaces



The currently used command "vnstat --json f 1" can be very slow when the
database contains many entries. This can result in an XHR timeout error
on the configuration page.

Use the "--dbiflist" option instead, which was added in vnStat 2.7.

Fixes: #6702
Signed-off-by: default avatarJan Hoffmann <jan@3e8.eu>
parent 63d5e239
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment