Skip to content

Instantly share code, notes, and snippets.

@roock
Last active August 29, 2015 14:06
Show Gist options
  • Save roock/61e16f157c8b8a954b92 to your computer and use it in GitHub Desktop.
Save roock/61e16f157c8b8a954b92 to your computer and use it in GitHub Desktop.
mtr patch for patch
--- a/report.c.orig 2014-09-15 13:19:51.000000000 +0200
+++ b/report.c 2014-09-15 13:20:02.000000000 +0200
@@ -334,7 +334,7 @@
snprint_addr(name, sizeof(name), addr);
int last = net_last(at);
- if(!ipinfo_no) {
+ if(!ipinfo_nos) {
char* fmtinfo = fmt_ipinfo(addr);
if (fmtinfo != NULL) fmtinfo = trim(fmtinfo);
printf("MTR.%s;%lu;%s;%s;%d;%s;%s;%d", MTR_VERSION, now, "OK", Hostname,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment