Add all other bandwidth to WAN

This commit is contained in:
JonnyWong16 2018-01-15 14:25:42 -08:00
parent eeb0478813
commit 4e55cf3cd4

View file

@ -4457,7 +4457,7 @@ class WebInterface(object):
counts['total_bandwidth'] += helpers.cast_to_int(s['bandwidth'])
if s['location'] == 'lan':
counts['lan_bandwidth'] += helpers.cast_to_int(s['bandwidth'])
elif s['location'] == 'wan':
else:
counts['wan_bandwidth'] += helpers.cast_to_int(s['bandwidth'])
result.update(counts)