Browse Source

[1165] a small cleanup: use constant instead of dynamically creating default class

JINMEI Tatuya 13 years ago
parent
commit
383b6b2891
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/bin/xfrout/xfrout.py.in

+ 1 - 1
src/bin/xfrout/xfrout.py.in

@@ -88,7 +88,7 @@ XFROUT_MAX_MESSAGE_SIZE = 65535
 
 # In practice, RR class is almost always fixed, so if and when we allow
 # it to be configured, it's convenient to make it optional.
-DEFAULT_RRCLASS = RRClass('IN')
+DEFAULT_RRCLASS = RRClass.IN()
 
 def get_rrset_len(rrset):
     """Returns the wire length of the given RRset"""