Skip to content

Commit aa937ff

Browse files
committed
Rollback changes made to the traceroute function
1 parent 89167ef commit aa937ff

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [v2.1.1](https://github.com/ValentinBELYN/icmplib/releases/tag/v2.1.1) - 2021-03-21
6+
- Rollback changes made to the `traceroute` function due to a bug.
7+
58
## [v2.1.0](https://github.com/ValentinBELYN/icmplib/releases/tag/v2.1.0) - 2021-03-20
69
- Add a `family` parameter to the `resolve` function to define the address family.
710
- Improve the reliability of the results of the `traceroute` function.

icmplib/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,5 @@
3939
__copyright__ = 'Copyright 2017-2021 Valentin BELYN'
4040
__license__ = 'GNU Lesser General Public License v3.0'
4141

42-
__version__ = '2.1'
42+
__version__ = '2.1.1'
4343
__build__ = '210321'

icmplib/traceroute.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ def traceroute(address, count=2, interval=0.05, timeout=2, id=PID,
171171

172172
for sequence in range(count):
173173
request = ICMPRequest(
174-
destination=hop_address or address,
174+
destination=address,
175175
id=id,
176176
sequence=sequence,
177177
ttl=ttl,

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = icmplib
3-
version = 2.1
3+
version = 2.1.1
44
description = Easily forge ICMP packets and make your own ping and traceroute.
55
keywords = pure, implementation, icmp, sockets, ping, multiping, traceroute, ipv4, ipv6, python3
66

0 commit comments

Comments
 (0)