Compare commits
3 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| b6ce1aa454 | |||
| 8add1d9ca0 | |||
| f786bcea7f |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:12490fb660ba5fb34df8c06a0f62b4f9cbd11a584fc3f6eceda0a99124e8596f
|
||||
size 144541
|
||||
3
mtr-0.96.tar.gz
Normal file
3
mtr-0.96.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:73e6aef3fb6c8b482acb5b5e2b8fa7794045c4f2420276f035ce76c5beae632d
|
||||
size 158043
|
||||
@@ -1,26 +0,0 @@
|
||||
Index: mtr-0.95/ui/report.c
|
||||
===================================================================
|
||||
--- mtr-0.95.orig/ui/report.c
|
||||
+++ mtr-0.95/ui/report.c
|
||||
@@ -140,7 +140,7 @@ void report_close(
|
||||
continue;
|
||||
|
||||
snprintf(fmt, sizeof(fmt), "%%%ds", data_fields[j].length);
|
||||
- snprintf(buf + len, sizeof(buf), fmt, data_fields[j].title);
|
||||
+ snprintf(buf + len, sizeof(buf) - len, fmt, data_fields[j].title);
|
||||
len += data_fields[j].length;
|
||||
}
|
||||
printf("%s\n", buf);
|
||||
@@ -172,10 +172,10 @@ void report_close(
|
||||
|
||||
/* 1000.0 is a temporary hack for stats usec to ms, impacted net_loss. */
|
||||
if (strchr(data_fields[j].format, 'f')) {
|
||||
- snprintf(buf + len, sizeof(buf), data_fields[j].format,
|
||||
+ snprintf(buf + len, sizeof(buf) - len, data_fields[j].format,
|
||||
data_fields[j].net_xxx(at) / 1000.0);
|
||||
} else {
|
||||
- snprintf(buf + len, sizeof(buf), data_fields[j].format,
|
||||
+ snprintf(buf + len, sizeof(buf) - len, data_fields[j].format,
|
||||
data_fields[j].net_xxx(at));
|
||||
}
|
||||
len += data_fields[j].length;
|
||||
20
mtr.changes
20
mtr.changes
@@ -1,3 +1,23 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 23 09:29:29 UTC 2025 - Martin Hauke <mardnh@gmx.de>
|
||||
|
||||
- Update to version 0.96
|
||||
* Change UDP and ICMP sockets binding to accept a source IP
|
||||
from the -a CLI option.
|
||||
* Adjust MIN_PORT to match other implementations.
|
||||
* Handle EHOSTDOWN and refine error handling better granularity.
|
||||
* Add braille graph support with --displaymode 3.
|
||||
* Use addrs for static host ordering in curses.
|
||||
* Add --max-display-paths option.
|
||||
* Add a compact mode in curses.
|
||||
* Implement ASN lookups in well-known nat64 prefix.
|
||||
* Set UTF-8 encoding for XML reports.
|
||||
* Changed how conflicitng first/max TTL works.
|
||||
* Increased max probes.
|
||||
* Add help info for option -E.
|
||||
- Drop patch
|
||||
* mtr-fixoverflow.patch (included upstream 5908af4)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 11 09:52:15 UTC 2023 - Marcus Meissner <meissner@suse.com>
|
||||
|
||||
|
||||
5
mtr.spec
5
mtr.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package mtr
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC and contributors
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: mtr
|
||||
Version: 0.95
|
||||
Version: 0.96
|
||||
Release: 0
|
||||
Summary: Ping and Traceroute Network Diagnostic Tool
|
||||
License: GPL-2.0-only
|
||||
@@ -27,7 +27,6 @@ Source: https://github.com/traviscross/mtr/archive/refs/tags/v%{version}
|
||||
Source1: xmtr.desktop
|
||||
Patch1: mtr-0.75-manmtr.patch
|
||||
Patch2: mtr-0.87-manxmtr.patch
|
||||
Patch3: mtr-fixoverflow.patch
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: gtk3-devel
|
||||
|
||||
Reference in New Issue
Block a user