summaryrefslogtreecommitdiff
path: root/src/python/m5
diff options
context:
space:
mode:
Diffstat (limited to 'src/python/m5')
-rw-r--r--src/python/m5/params.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/python/m5/params.py b/src/python/m5/params.py
index 846c5416e..f1eead80d 100644
--- a/src/python/m5/params.py
+++ b/src/python/m5/params.py
@@ -930,6 +930,9 @@ class EthernetAddr(ParamValue):
from m5.internal.params import EthAddr
return EthAddr(self.value)
+ def __str__(self):
+ return self.value
+
def ini_str(self):
return self.value