Whamcloud - gitweb
Fix for bug 5511
authornkj <nkj>
Fri, 28 Jan 2005 20:22:15 +0000 (20:22 +0000)
committernkj <nkj>
Fri, 28 Jan 2005 20:22:15 +0000 (20:22 +0000)
lustre/utils/lconf

index 6de734a..ada1d8b 100755 (executable)
@@ -962,7 +962,7 @@ def sys_get_elan_position_file():
 def sys_get_local_nid(net_type, wildcard, cluster_id):
     """Return the local nid."""
     local = ""
-    if sys_get_elan_position_file():
+    if sys_get_elan_position_file() and net_type == 'elan':
         local = sys_get_local_address('elan', '*', cluster_id)
     else:
         local = sys_get_local_address(net_type, wildcard, cluster_id)