--- loncom/init.d/loncontrol 2009/06/10 23:51:46 1.37 +++ loncom/init.d/loncontrol 2009/07/06 00:07:15 1.38 @@ -1,6 +1,6 @@ #!/usr/bin/perl # -# $Id: loncontrol,v 1.37 2009/06/10 23:51:46 raeburn Exp $ +# $Id: loncontrol,v 1.38 2009/07/06 00:07:15 raeburn Exp $ # # The LearningOnline Network with CAPA # @@ -119,7 +119,7 @@ if ($command eq "restart") { system("su www -c '/home/httpd/perl/loncron --justcheckdaemons'"); } elsif (($command eq "stop") || ($command eq 'start') || ($command eq 'status')) { my $iptables = &LONCAPA::Firewall::get_pathto_iptables(); - my $fw_chain = &LONCAPA::Firewall::get_fw_chain(); + my $fw_chain = &LONCAPA::Firewall::get_fw_chain($iptables); my $lond_port = &LONCAPA::Firewall::get_lond_port(); my %iphost = &Apache::lonnet::get_iphost(); if ($command eq 'stop') {