Skip to content

Commit

Permalink
Rollback changes made to the traceroute function
Browse files Browse the repository at this point in the history
  • Loading branch information
ValentinBELYN committed Mar 21, 2021
1 parent 89167ef commit aa937ff
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

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

## [v2.1.1](https://github.com/ValentinBELYN/icmplib/releases/tag/v2.1.1) - 2021-03-21
- Rollback changes made to the `traceroute` function due to a bug.

## [v2.1.0](https://github.com/ValentinBELYN/icmplib/releases/tag/v2.1.0) - 2021-03-20
- Add a `family` parameter to the `resolve` function to define the address family.
- Improve the reliability of the results of the `traceroute` function.
Expand Down
2 changes: 1 addition & 1 deletion icmplib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@
__copyright__ = 'Copyright 2017-2021 Valentin BELYN'
__license__ = 'GNU Lesser General Public License v3.0'

__version__ = '2.1'
__version__ = '2.1.1'
__build__ = '210321'
2 changes: 1 addition & 1 deletion icmplib/traceroute.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def traceroute(address, count=2, interval=0.05, timeout=2, id=PID,

for sequence in range(count):
request = ICMPRequest(
destination=hop_address or address,
destination=address,
id=id,
sequence=sequence,
ttl=ttl,
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = icmplib
version = 2.1
version = 2.1.1
description = Easily forge ICMP packets and make your own ping and traceroute.
keywords = pure, implementation, icmp, sockets, ping, multiping, traceroute, ipv4, ipv6, python3

Expand Down

0 comments on commit aa937ff

Please sign in to comment.