~ubuntu-branches/ubuntu/gutsy/python-dns/gutsy-security

« back to all changes in this revision

Viewing changes to DNS/Opcode.py

  • Committer: Bazaar Package Importer
  • Author(s): Joerg Wendland
  • Date: 2003-08-20 14:25:29 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20030820142529-3facqpkoslard81q
Tags: 2.3.0-5
* debian/control:
  Use ${python:Depends} for Depends, so that correct Depends are
  generated by dh_python. (closes: Bug#205884)
* debian/python-dns.postinst
  debian/python-dns.prerm:
  Remove these files and let debhelper handle these issues.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
"""
2
 
 $Id: Opcode.py,v 1.5 2002/03/19 12:41:33 anthonybaxter Exp $
 
2
 $Id: Opcode.py,v 1.6 2002/04/23 10:51:43 anthonybaxter Exp $
3
3
 
4
4
 This file is part of the pydns project.
5
5
 Homepage: http://pydns.sourceforge.net
6
6
 
7
7
 This code is covered by the standard Python License.
8
8
 
9
 
 Opcode values in message header (section 4.1.1)
 
9
 Opcode values in message header. RFC 1035, 1996, 2136.
10
10
"""
11
11
 
12
12
 
14
14
QUERY = 0
15
15
IQUERY = 1
16
16
STATUS = 2
 
17
NOTIFY = 4
 
18
UPDATE = 5
17
19
 
18
20
# Construct reverse mapping dictionary
19
21
 
28
30
 
29
31
#
30
32
# $Log: Opcode.py,v $
 
33
# Revision 1.6  2002/04/23 10:51:43  anthonybaxter
 
34
# Added UPDATE, NOTIFY.
 
35
#
31
36
# Revision 1.5  2002/03/19 12:41:33  anthonybaxter
32
37
# tabnannied and reindented everything. 4 space indent, no tabs.
33
38
# yay.