summaryrefslogtreecommitdiffstats
path: root/ds9/library
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2017-09-25 20:19:22 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2017-09-25 20:19:22 (GMT)
commit5f3f1dbfaaf884a7c8fc5934f914f31711d84707 (patch)
treec734787f900406107e7f4012d39bec4c2b920fc5 /ds9/library
parent7e2a423d38790025bb7134c69686155ea1118f9e (diff)
downloadblt-5f3f1dbfaaf884a7c8fc5934f914f31711d84707.zip
blt-5f3f1dbfaaf884a7c8fc5934f914f31711d84707.tar.gz
blt-5f3f1dbfaaf884a7c8fc5934f914f31711d84707.tar.bz2
XPA: rm checkdns from init sequence
Diffstat (limited to 'ds9/library')
-rw-r--r--ds9/library/ds9.tcl4
-rw-r--r--ds9/library/xpa.tcl17
2 files changed, 0 insertions, 21 deletions
diff --git a/ds9/library/ds9.tcl b/ds9/library/ds9.tcl
index 8705d27..f4f0bcf 100644
--- a/ds9/library/ds9.tcl
+++ b/ds9/library/ds9.tcl
@@ -317,10 +317,6 @@ switch $ds9(wm) {
package require xmlrpc
package require DS9
-
- proc checkdns {a b {c {}}} {
- return 0
- }
}
}
diff --git a/ds9/library/xpa.tcl b/ds9/library/xpa.tcl
index 32cf316..28c4de8 100644
--- a/ds9/library/xpa.tcl
+++ b/ds9/library/xpa.tcl
@@ -9,23 +9,6 @@ proc InitXPA {} {
global pds9
global env
- # this is needed
- # if there is a problem (usually with VPN), XPA will hang
- # so preempt and set to local before XPAINIT
- if {[info exists env(XPA_METHOD)]} {
- if {$env(XPA_METHOD) != {local}} {
- if {[checkdns {} 5]} {
- set env(XPA_METHOD) local
- Error [msgcat::mc {XPA unable to verify hostname, setting XPA_METHOD to LOCAL}]
- }
- }
- } else {
- if {[checkdns {} 5]} {
- set env(XPA_METHOD) local
- Error [msgcat::mc {XPA unable to verify hostname, setting XPA_METHOD to LOCAL}]
- }
- }
-
switch -- $ds9(wm) {
x11 -
win32 {}