From a1f217ea9e304f9f45678f658c5dc6e2325a3f69 Mon Sep 17 00:00:00 2001 From: Bob Halley Date: Sun, 25 Nov 2007 17:35:02 +0000 Subject: [PATCH] fix typo --- dns/rdtypes/IN/NAPTR.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dns/rdtypes/IN/NAPTR.py b/dns/rdtypes/IN/NAPTR.py index d7ddb50d..9c737a10 100644 --- a/dns/rdtypes/IN/NAPTR.py +++ b/dns/rdtypes/IN/NAPTR.py @@ -119,7 +119,7 @@ class NAPTR(dns.rdata.Rdata): def _cmp(self, other): sp = struct.pack("!HH", self.order, self.preference) - op = struct.pack("!HH", other.order, order.preference) + op = struct.pack("!HH", other.order, other.preference) v = cmp(sp, op) if v == 0: v = cmp(self.flags, other.flags) -- 2.47.3