Diff for /loncom/init.d/loncontrol between versions 1.43 and 1.44

version 1.43, 2011/05/15 01:10:02 version 1.44, 2015/09/20 18:31:33
Line 121  if (($command eq "restart") || ($command Line 121  if (($command eq "restart") || ($command
             if ($daemon eq 'lonc') { $killallname='loncnew'; }              if ($daemon eq 'lonc') { $killallname='loncnew'; }
             &stop_daemon($daemon,$killallname);              &stop_daemon($daemon,$killallname);
         }          }
         %iphost = &Apache::lonnet::get_iphost();          %iphost = &Apache::lonnet::get_iphost('',1);
         my $firewall_result =          my $firewall_result =
             &LONCAPA::Firewall::firewall_close_port($iptables,\@fw_chains,              &LONCAPA::Firewall::firewall_close_port($iptables,\@fw_chains,
                                              $lond_port,\%iphost,[$lond_port]);                                               $lond_port,\%iphost,[$lond_port]);
Line 155  if (($command eq "restart") || ($command Line 155  if (($command eq "restart") || ($command
         }          }
         &clean_sockets();          &clean_sockets();
     } elsif ($command eq "start") {      } elsif ($command eq "start") {
         %iphost = &Apache::lonnet::get_iphost();          %iphost = &Apache::lonnet::get_iphost('',1);
         my $firewall_result =           my $firewall_result = 
             &LONCAPA::Firewall::firewall_open_port($iptables,\@fw_chains,$lond_port,\%iphost,[$lond_port]);              &LONCAPA::Firewall::firewall_open_port($iptables,\@fw_chains,$lond_port,\%iphost,[$lond_port]);
         if (($firewall_result eq 'ok') || ($firewall_result eq 'inactive firewall')) {          if (($firewall_result eq 'ok') || ($firewall_result eq 'inactive firewall')) {

Removed from v.1.43  
changed lines
  Added in v.1.44


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>