summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/python/m5/params.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/m5/params.py b/src/python/m5/params.py
index 3f5ceb75a..0093a411d 100644
--- a/src/python/m5/params.py
+++ b/src/python/m5/params.py
@@ -701,7 +701,7 @@ class IpAddress(ParamValue):
def verifyIp(self):
if self.ip < 0 or self.ip >= (1 << 32):
- raise TypeError, "invalid ip address %#08x" % ip
+ raise TypeError, "invalid ip address %#08x" % self.ip
def getValue(self):
from m5.internal.params import IpAddress