浏览代码

debug info

Paul Klumpp 12 年之前
父节点
当前提交
6f12012077
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      em_server.rb

+ 4 - 4
em_server.rb

@@ -276,10 +276,10 @@ module InterconnectionPointProtocolHandler
                 # if the resulting dns is too long, use ip-address instead.
                 # if the resulting dns has too many dots, use ip-address instead.
                 if domainname.length > 23 || domainname.split(".").size > 3 || domainname.grep(/\d/).size > 3
-                  #put_log "cutting down host_name: #{domainname}, because:"
-                  #put_log "#{domainname.length}"
-                  #put_log "#{domainname.split(".").size}"
-                  #put_log "#{domainname.grep(/\d/).size}"
+                  put_log "cutting down host_name: #{domainname}, because:"
+                  put_log "#{domainname.length}"
+                  put_log "#{domainname.split(".").size}"
+                  put_log "#{domainname.grep(/\d/).size}"
 
                   domainname = iphost
                 end