From: Volker Lendecke Date: Mon, 19 May 2008 02:20:56 +0000 (+0200) Subject: If no node number is given, default to the current node in smbcontrol X-Git-Tag: samba-4.0.0alpha6~801^2~1325^2~29 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dc2e8823d21ce8d6ba4b8a083badd270133fdc43;p=thirdparty%2Fsamba.git If no node number is given, default to the current node in smbcontrol (This used to be commit b4b3b6b1c6a336220c6afd68b153a769397ecded) --- diff --git a/source3/lib/util.c b/source3/lib/util.c index a6b436cc6a9..68524a21ce0 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -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 {