libknot 3.3.8__tar.gz → 3.4.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: libknot
3
- Version: 3.3.8
3
+ Version: 3.4.0
4
4
  Summary: Python bindings for libknot
5
5
  Home-page: https://gitlab.nic.cz/knot/knot-dns/-/tree/master/python/libknot
6
6
  Author: CZ.NIC, z.s.p.o.
@@ -20,7 +20,7 @@ class Knot(object):
20
20
  """Basic libknot interface."""
21
21
 
22
22
  LIBKNOT = None
23
- LIBKNOT_VERSION = "14"
23
+ LIBKNOT_VERSION = "15"
24
24
 
25
25
  RCODE_NAMES = None
26
26
 
@@ -12,9 +12,9 @@ class KnotProbeDataProto(enum.IntEnum):
12
12
 
13
13
  UDP = 0
14
14
  TCP = 1
15
- QUIC = 3
16
- TLS = 4
17
- HTTPS = 5
15
+ QUIC = 2
16
+ TLS = 3
17
+ HTTPS = 4
18
18
 
19
19
 
20
20
  class KnotProbeDataDNSHdr(ctypes.BigEndianStructure):
@@ -132,8 +132,10 @@ class KnotProbeData(ctypes.Structure):
132
132
  string += COL("UDP", GRN)
133
133
  elif self.proto == KnotProbeDataProto.TCP:
134
134
  string += COL("TCP", RED)
135
- else:
135
+ elif self.proto == KnotProbeDataProto.QUIC:
136
136
  string += COL("QUIC", ORG)
137
+ else:
138
+ string += COL("TLS", YELW)
137
139
  if self.tcp_rtt > 0:
138
140
  string += ", RTT %.2f ms" % (self.tcp_rtt / 1000)
139
141
  string += "\n ID %u, " % self.query_hdr.id
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: libknot
3
- Version: 3.3.8
3
+ Version: 3.4.0
4
4
  Summary: Python bindings for libknot
5
5
  Home-page: https://gitlab.nic.cz/knot/knot-dns/-/tree/master/python/libknot
6
6
  Author: CZ.NIC, z.s.p.o.
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "libknot"
7
- version = "3.3.8"
7
+ version = "3.4.0"
8
8
  description = "Python bindings for libknot"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.5"
@@ -7,7 +7,7 @@ if p.exists():
7
7
 
8
8
  setuptools.setup(
9
9
  name='libknot',
10
- version='3.3.8',
10
+ version='3.4.0',
11
11
  description='Python bindings for libknot',
12
12
  long_description=long_description,
13
13
  long_description_content_type="text/markdown",
File without changes
File without changes
File without changes
File without changes