diff options
Diffstat (limited to 'testprogs/ejs/nbtstats')
-rwxr-xr-x | testprogs/ejs/nbtstats | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/testprogs/ejs/nbtstats b/testprogs/ejs/nbtstats index fe93a728cd..20bc781f03 100755 --- a/testprogs/ejs/nbtstats +++ b/testprogs/ejs/nbtstats @@ -14,14 +14,15 @@ if (ok == false) { } var conn = new Object(); +var irpc = irpc_init(); status = irpc_connect(conn, "nbt_server"); assert(status.is_ok == true); io = new Object(); io.input = new Object(); -io.input.level = NBTD_INFO_STATISTICS; -status = dcerpc_nbtd_information(conn, io); +io.input.level = irpc.NBTD_INFO_STATISTICS; +status = irpc.nbtd_information(conn, io); assert(status.is_ok == true); assert(io.results.length == 1); |