summaryrefslogtreecommitdiff
path: root/source3/utils/net_serverid.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2015-10-14 11:49:57 +0200
committerMichael Adam <obnox@samba.org>2016-01-07 16:01:09 +0100
commit2948fb347a8cd44deb358b65ad95125ab2b60c42 (patch)
tree7479c107c1e59d6826ec2f560de3c2462b645222 /source3/utils/net_serverid.c
parent8108f0d320013c560339723d8d70ab601350d0c4 (diff)
downloadsamba-2948fb347a8cd44deb358b65ad95125ab2b60c42.tar.gz
net: Use procid_is_local
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/utils/net_serverid.c')
-rw-r--r--source3/utils/net_serverid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_serverid.c b/source3/utils/net_serverid.c
index 630a7dea082..f228c91f536 100644
--- a/source3/utils/net_serverid.c
+++ b/source3/utils/net_serverid.c
@@ -51,7 +51,7 @@ static int net_serverid_wipe_fn(struct db_record *rec,
{
NTSTATUS status;
- if (id->vnn != get_my_vnn()) {
+ if (!procid_is_local(id)) {
return 0;
}
status = dbwrap_record_delete(rec);