diff -pru ../lustre-old/lnet/klnds/mxlnd/mxlnd_cb.c ./lnet/klnds/mxlnd/mxlnd_cb.c
--- ../lustre-old/lnet/klnds/mxlnd/mxlnd_cb.c	2007-02-09 19:04:46.000000000 -0500
+++ ./lnet/klnds/mxlnd/mxlnd_cb.c	2007-04-13 09:24:50.000000000 -0400
@@ -1099,6 +1099,7 @@ mxlnd_get_peer_info(int index, lnet_nid_
 
                         *nidp = peer->mxp_nid;
                         *count = atomic_read(&peer->mxp_refcount);
+                        return 0;
                 }
         }
         read_unlock(&kmxlnd_data.kmx_peers_lock);
diff -pru ../lustre-old/lnet/utils/portals.c ./lnet/utils/portals.c
--- ../lustre-old/lnet/utils/portals.c	2007-03-09 16:38:32.000000000 -0500
+++ ./lnet/utils/portals.c	2007-04-13 09:25:13.000000000 -0400
@@ -570,7 +570,7 @@ jt_ptl_print_peers (int argc, char **arg
         int                      index;
         int                      rc;
 
-        if (!g_net_is_compatible (argv[0], SOCKLND, RALND, PTLLND,
+        if (!g_net_is_compatible (argv[0], SOCKLND, RALND, PTLLND, MXLND,
                                   OPENIBLND, CIBLND, IIBLND, VIBLND, O2IBLND, 0))
                 return -1;
 
