summaryrefslogtreecommitdiff
path: root/python/vyos/ifconfig/operational.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/vyos/ifconfig/operational.py')
-rw-r--r--python/vyos/ifconfig/operational.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/ifconfig/operational.py b/python/vyos/ifconfig/operational.py
index 5a292f90b..d585c1873 100644
--- a/python/vyos/ifconfig/operational.py
+++ b/python/vyos/ifconfig/operational.py
@@ -142,7 +142,7 @@ class Operational(Control):
stats[k] = int(v)
return stats
except IOError:
- return stats
+ return no_stats
def clear_counters(self, counters=None):
clear = self._stats_all if counters is None else []