If no node number is given, default to the current node in smbcontrol
authorVolker Lendecke <vl@samba.org>
Mon, 19 May 2008 02:20:56 +0000 (04:20 +0200)
committerVolker Lendecke <vl@samba.org>
Mon, 19 May 2008 12:56:15 +0000 (14:56 +0200)
(This used to be commit b4b3b6b1c6a336220c6afd68b153a769397ecded)

source3/lib/util.c

index a6b436cc6a9e53af38cec478082c314a6ffd8bdd..68524a21ce09dfe7e6eff894585e83b47381c2ed 100644 (file)
@@ -3074,7 +3074,7 @@ struct server_id interpret_pid(const char *pid_string)
                result.pid = pid;
        }
        else if (sscanf(pid_string, "%u", &pid) == 1) {
-               result.vnn = NONCLUSTER_VNN;
+               result.vnn = get_my_vnn();
                result.pid = pid;
        }
        else {