Whamcloud - gitweb
- fix set_route
authorrread <rread>
Wed, 12 Nov 2003 21:11:24 +0000 (21:11 +0000)
committerrread <rread>
Wed, 12 Nov 2003 21:11:24 +0000 (21:11 +0000)
- add kptlrouter to list of modules

lnet/libcfs/module.c
lnet/utils/debug.c
lustre/portals/libcfs/module.c
lustre/portals/utils/debug.c

index a01dfe2..6432070 100644 (file)
@@ -243,7 +243,7 @@ kportal_router_cmd(struct portals_cfg *pcfg, void * private)
                         pcfg->pcfg_flags ? "Enabling" : "Disabling",
                         (time_t)pcfg->pcfg_nid3);
                 
-                err = kportal_notify_router (pcfg->pcfg_nal, pcfg->pcfg_nid,
+                err = kportal_notify_router (pcfg->pcfg_gw_nal, pcfg->pcfg_nid,
                                              pcfg->pcfg_flags, 
                                              (time_t)pcfg->pcfg_nid3);
                 break;
index 753c652..ecd0b81 100644 (file)
@@ -531,6 +531,7 @@ int jt_dbg_modules(int argc, char **argv)
         } *mp, mod_paths[] = {
                 {"portals", "lustre/portals/libcfs"},
                 {"ksocknal", "lustre/portals/knals/socknal"},
+                {"kptlrouter", "lustre/portals/router"},
                 {"lvfs", "lustre/lvfs"},
                 {"obdclass", "lustre/obdclass"},
                 {"llog_test", "lustre/obdclass"},
index a01dfe2..6432070 100644 (file)
@@ -243,7 +243,7 @@ kportal_router_cmd(struct portals_cfg *pcfg, void * private)
                         pcfg->pcfg_flags ? "Enabling" : "Disabling",
                         (time_t)pcfg->pcfg_nid3);
                 
-                err = kportal_notify_router (pcfg->pcfg_nal, pcfg->pcfg_nid,
+                err = kportal_notify_router (pcfg->pcfg_gw_nal, pcfg->pcfg_nid,
                                              pcfg->pcfg_flags, 
                                              (time_t)pcfg->pcfg_nid3);
                 break;
index 753c652..ecd0b81 100644 (file)
@@ -531,6 +531,7 @@ int jt_dbg_modules(int argc, char **argv)
         } *mp, mod_paths[] = {
                 {"portals", "lustre/portals/libcfs"},
                 {"ksocknal", "lustre/portals/knals/socknal"},
+                {"kptlrouter", "lustre/portals/router"},
                 {"lvfs", "lustre/lvfs"},
                 {"obdclass", "lustre/obdclass"},
                 {"llog_test", "lustre/obdclass"},