| Summary: | wide report option on mtr tool does not output properly (or may just be outright broken) | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Chris Marcantonio <cmarcant> | ||||
| Component: | mtr | Assignee: | Adam Tkac <atkac> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 15 | CC: | atkac, jgorig, ovasik | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | mtr-0.81-1.fc15 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2011-11-11 01:25:26 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
|
Description
Chris Marcantonio
2011-05-10 16:31:34 UTC
Looking into this a bit more, I think the problem is that the DisplayMode isn't set properly when the wide report mode switch is passed. I tested the following patch out:
sh-4.2$ cat test.patch
diff -up ./mtr-0.80/mtr.c.ORIG ./mtr-0.80/mtr.c
--- a/mtr.c 2011-05-10 12:20:51.014296029 -0400
+++ b/mtr.c 2011-05-10 12:21:16.826438824 -0400
@@ -172,6 +172,7 @@ void parse_arg (int argc, char **argv)
break;
case 'w':
reportwide = 1;
+ DisplayMode = DisplayReport;
break;
case 't':
DisplayMode = DisplayCurses;
sh-4.2$
in order to set DisplayMode properly when wide report mode is triggered as well. This appears to make things behave much more sanely.
The package builds properly, and the output looks the way I expect it should. Any chance we can get this included/passed upstream, or do I need to file this upstream myself?
Created attachment 498098 [details]
patch to correct the issue
Meh, screw it. I finally bit the bullet and created a Launchpad account, so I filed this upstream as well. https://bugs.launchpad.net/mtr/+bug/780647 mtr-0.81-1.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/mtr-0.81-1.fc16 mtr-0.81-1.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/mtr-0.81-1.fc15 Package mtr-0.81-1.fc15: * should fix your issue, * was pushed to the Fedora 15 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing mtr-0.81-1.fc15' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2011-15240 then log in and leave karma (feedback). mtr-0.81-1.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report. mtr-0.81-1.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report. |