diff options
author | Tobi Oetiker <tobi@oetiker.ch> | 2008-06-09 07:20:13 +0200 |
---|---|---|
committer | Tobi Oetiker <tobi@oetiker.ch> | 2008-06-09 07:20:13 +0200 |
commit | 129d59bc63a690e750a0e4f55ee8389495e2882a (patch) | |
tree | 1e5025a65eb1333ca3983788b8ccc6b6c5258bfc | |
parent | 156fc3d2ef35ff525d13ee3d693728596a62ab82 (diff) | |
download | smokeping-129d59bc63a690e750a0e4f55ee8389495e2882a.tar.gz smokeping-129d59bc63a690e750a0e4f55ee8389495e2882a.tar.xz |
added dummy script_name methode
-rw-r--r-- | CHANGES | 4 | ||||
-rw-r--r-- | lib/Smokeping.pm | 4 |
2 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,7 @@ +* building a --static version of the smokeping page is broken. Make + it a little less broken by providing a dummyCGI->script_name method. + --tobi + * added blazemode option to FPing, so that it sends an extra ping to blaze a path to the destionation and then discarges it. Based on idea by G.W. Haywood -- tobi diff --git a/lib/Smokeping.pm b/lib/Smokeping.pm index 7d205bf..af5906c 100644 --- a/lib/Smokeping.pm +++ b/lib/Smokeping.pm @@ -72,6 +72,10 @@ sub dummyCGI::param { return wantarray ? () : ""; } +sub dummyCGI::script_name { + return wantarray ? () : ""; +} + sub load_probes ($){ my $cfg = shift; my %prbs; |