summaryrefslogtreecommitdiff
path: root/python/vyos/ifconfig/interface.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/vyos/ifconfig/interface.py')
-rw-r--r--python/vyos/ifconfig/interface.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/vyos/ifconfig/interface.py b/python/vyos/ifconfig/interface.py
index a0f0ffe04..d200fc7a8 100644
--- a/python/vyos/ifconfig/interface.py
+++ b/python/vyos/ifconfig/interface.py
@@ -299,7 +299,7 @@ class Interface(Control):
>>> Interface('eth0').get_min_mtu()
'60'
"""
- return self.get_interface('min_mtu')
+ return int(self.get_interface('min_mtu'))
def get_max_mtu(self):
"""
@@ -310,7 +310,7 @@ class Interface(Control):
>>> Interface('eth0').get_max_mtu()
'9000'
"""
- return self.get_interface('max_mtu')
+ return int(self.get_interface('max_mtu'))
def get_mtu(self):
"""