[LON-CAPA-cvs] cvs: loncom(version_2_10_X) /lonnet/perl lonnet.pm
raeburn
raeburn@source.lon-capa.org
Mon, 13 Jun 2011 14:09:26 -0000
raeburn Mon Jun 13 14:09:26 2011 EDT
Modified files: (Branch: version_2_10_X)
/loncom/lonnet/perl lonnet.pm
Log:
- Change missed in earlier backport of 1.1107.
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.1056.4.26 loncom/lonnet/perl/lonnet.pm:1.1056.4.27
--- loncom/lonnet/perl/lonnet.pm:1.1056.4.26 Fri Jun 3 00:31:30 2011
+++ loncom/lonnet/perl/lonnet.pm Mon Jun 13 14:09:26 2011
@@ -1,7 +1,7 @@
# The LearningOnline Network
# TCP networking package
#
-# $Id: lonnet.pm,v 1.1056.4.26 2011/06/03 00:31:30 raeburn Exp $
+# $Id: lonnet.pm,v 1.1056.4.27 2011/06/13 14:09:26 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -10234,6 +10234,14 @@
my ($lonid) = @_;
return $internetdom{$lonid};
}
+
+ sub is_LC_dns {
+ &load_hosts_tab() if (!$loaded);
+
+ my ($hostname) = @_;
+ return exists($LC_dns_serv{$hostname});
+ }
+
}
{