Bug Report: the --save=FILENAME paramter does not work in hobbitgraph.cgi of Hobbit 4.2.0

Rene Burkhardt rene.burkhardt at ch.ibm.com
Sat Sep 23 16:21:59 CEST 2006


the --save=FILENAME paramter does not work in hobbitgraph.cgi of Hobbit
4.2.0

I had to apply the following path to make it work:

bash-3.00# diff -uNr hobbitgraph.c.orig hobbitgraph.c
--- hobbitgraph.c.orig  2006-09-23 15:47:05.000000000 +0200
+++ hobbitgraph.c       2006-09-23 15:48:31.000000000 +0200
@@ -513,7 +513,7 @@
                        char *p = strchr(argv[argi], '=');
                        gdeffn = strdup(p+1);
                }
-               else if (strcmp(argv[argi], "--save=") == 0) {
+               else if (argnmatch(argv[argi], "--save=")) {
                        char *p = strchr(argv[argi], '=');
                        graphfn = strdup(p+1);
                }

Freundliche Grüsse / Kind regards
René Burkhardt

IBM Information Technology Services Switzerland
Secure Access Services / Web (SAS-2)
Schwarzwaldallee 215,      R1008.5.05
CH-4010 Basel   Switzerland
Tel. +41 61 697 2644
Fax. +41 61 697 3652
e-mail: rene.burkhardt at ch.ibm.com
Infos zu Socks in eSNI-CH: http://socksweb.mon.ch.ibm.com/




More information about the Xymon mailing list