diff options
author | Thomas Mangin <thomas.mangin@exa.net.uk> | 2020-04-14 17:10:20 +0100 |
---|---|---|
committer | Thomas Mangin <thomas.mangin@exa.net.uk> | 2020-04-14 17:10:20 +0100 |
commit | 7d04bfbcc74e062b80b337753e7018a6af81e70c (patch) | |
tree | 4482e09b8cec0368a7de654ef8511d8c7adcad4b /python/vyos/ifconfig/operational.py | |
parent | 7b0ab5a3c8edd5d925cc57e2e3f3dedea7f36adc (diff) | |
download | vyos-1x-7d04bfbcc74e062b80b337753e7018a6af81e70c.tar.gz vyos-1x-7d04bfbcc74e062b80b337753e7018a6af81e70c.zip |
op_mode: T2223: two cosmetic change and bug fix
Diffstat (limited to 'python/vyos/ifconfig/operational.py')
-rw-r--r-- | python/vyos/ifconfig/operational.py | 2 |
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 [] |