--- loncom/loncnew 2017/10/20 20:20:20 1.102 +++ loncom/loncnew 2018/01/16 18:13:29 1.103 @@ -2,7 +2,7 @@ # The LearningOnline Network with CAPA # lonc maintains the connections to remote computers # -# $Id: loncnew,v 1.102 2017/10/20 20:20:20 raeburn Exp $ +# $Id: loncnew,v 1.103 2018/01/16 18:13:29 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -2235,8 +2235,8 @@ sub Terminate { } sub my_hostname { - use Sys::Hostname; - my $name = &hostname(); + use Net::Domain(); + my $name = &Net::Domain::hostfqdn(); &Debug(9,"Name is $name"); return $name; }