summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-05-19 04:20:56 +0200
committerVolker Lendecke <vl@samba.org>2008-05-19 14:56:15 +0200
commitdc2e8823d21ce8d6ba4b8a083badd270133fdc43 (patch)
tree99a03f7a420297a93e83981259aaefc8b670f873 /source3/lib
parentfc3e6851d3084717d0a1654f6b97f81aabe41e51 (diff)
downloadsamba-dc2e8823d21ce8d6ba4b8a083badd270133fdc43.tar.gz
samba-dc2e8823d21ce8d6ba4b8a083badd270133fdc43.tar.bz2
samba-dc2e8823d21ce8d6ba4b8a083badd270133fdc43.zip
If no node number is given, default to the current node in smbcontrol
(This used to be commit b4b3b6b1c6a336220c6afd68b153a769397ecded)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c
index a6b436cc6a..68524a21ce 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 {