diff options
-rw-r--r-- | lib/Smokeping.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Smokeping.pm b/lib/Smokeping.pm index ea78e06..6de126f 100644 --- a/lib/Smokeping.pm +++ b/lib/Smokeping.pm @@ -3513,7 +3513,7 @@ sub main (;$) { shared_secret => $secret, }; # this should get us a config set from the server - Smokeping::Slave::submit_results($slave_cfg,\$::cfg,undef,{},'',undef); + Smokeping::Slave::submit_results($slave_cfg,$cfg); } else { if(defined $opt{'check'}) { verify_cfg($cfgfile); exit 0; } if($opt{reload}) { |