Browse Source

fixed a syntax error

git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac221@2179 e5f2f494-b856-4b98-b285-d166d9295462
JINMEI Tatuya 15 years ago
parent
commit
eb7ccd622f
1 changed files with 7 additions and 0 deletions
  1. 7 0
      src/bin/xfrin/xfrin.py.in

+ 7 - 0
src/bin/xfrin/xfrin.py.in

@@ -416,6 +416,13 @@ a separate method for the convenience of unit tests.
                 ret = self.xfrin_start(zone_name, rrclass, db_file, master_addr,
                                    False if command == 'retransfer' else True)
                 answer = create_answer(ret[0], ret[1])
+            elif cmd == 'notify':
+                # This is the temp implementation for notify
+                # actually the notfiy command should be sent to 
+                # Zone Manager module.
+                db_file = '@@LOCALSTATEDIR@@/@PACKAGE@/zone.sqlite3'
+                ret = self.xfrin_start(args['zone_name'], db_file, args['master_ip'], port = 53)
+                answer = create_answer(ret[0], ret[1])
             else:
                 answer = create_answer(1, 'unknown command: ' + command)