- Fixed a typo in the changelog (NEWS) entry for 0.27. :-) added use
of "MTR_OPTIONS" environment variable for defaults.
source: ftp://ftp.bitwizard.nl/mtr/mtr-0.30.tar.gz
WHAT'S NEW?
+ v0.30 Fixed a typo in the changelog (NEWS) entry for 0.27. :-)
+ added use of "MTR_OPTIONS" environment variable for defaults.
+
+
v0.29 Lots of stuff.
Neato overview display by David Sward.
FreeBSD does wrong in the kernel the same that Solaris/x86 (see
v0.27
Fixed bug that showed up on Solaris/x86.
- Gimp mainloop now runs as it's supposed to.
+ GTK mainloop now runs as it's supposed to.
v0.26
Added "-n" flag for numeric output.
AC_INIT(mtr.c)
-AM_INIT_AUTOMAKE(mtr, 0.29)
+AM_INIT_AUTOMAKE(mtr, 0.30)
AC_SUBST(GTK_OBJ)
AC_SUBST(CURSES_OBJ)
}
+
+void parse_mtr_options (char *string)
+{
+ int argc;
+ char *argv[128], *p;
+ int i;
+
+ if (!string) return;
+
+ argv[0] = "mtr";
+ argc = 1;
+ p = strtok (string, " \t");
+ while (p) {
+ argv[argc++] = p;
+ p = strtok (NULL, " \t");
+ }
+ parse_arg (argc, argv);
+ optind = 0;
+}
+
+
+
+
+
+
int main(int argc, char **argv) {
int traddr;
struct hostent *host;
}
display_detect(&argc, &argv);
+
+ parse_mtr_options (getenv ("MTR_OPTIONS"));
+
parse_arg(argc, argv);
if(PrintVersion) {