From 89850d6370b29272788cb73165341ced68e3bd53 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Mon, 20 Dec 2010 04:20:58 -0500 Subject: [PATCH] Params: Fix a broken error message in verifyIp. --- src/python/m5/params.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2