--- loncom/loncnew 2011/06/17 17:41:37 1.100 +++ loncom/loncnew 2020/01/12 01:55:44 1.100.10.2 @@ -2,7 +2,7 @@ # The LearningOnline Network with CAPA # lonc maintains the connections to remote computers # -# $Id: loncnew,v 1.100 2011/06/17 17:41:37 raeburn Exp $ +# $Id: loncnew,v 1.100.10.2 2020/01/12 01:55:44 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -2233,8 +2233,8 @@ sub Terminate { } sub my_hostname { - use Sys::Hostname; - my $name = &hostname(); + use Sys::Hostname::FQDN(); + my $name = Sys::Hostname::FQDN::fqdn(); &Debug(9,"Name is $name"); return $name; }