]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
fixed broadcast controls from the command line
authorAndrew Tridgell <tridge@samba.org>
Tue, 29 May 2007 06:34:50 +0000 (16:34 +1000)
committerAndrew Tridgell <tridge@samba.org>
Tue, 29 May 2007 06:34:50 +0000 (16:34 +1000)
(This used to be ctdb commit 54464e0b5123265780013a0a46c8b94709d227dc)

ctdb/common/ctdb_control.c

index 1d1dadd0e08bb020708da665ab6cfed0de8d636e..73f6e6f798b740b5a437b8910196f354ad0e613b 100644 (file)
@@ -442,7 +442,7 @@ int ctdb_daemon_send_control(struct ctdb_context *ctdb, uint32_t destnode,
                return -1;
        }
 
-       if (destnode != CTDB_BROADCAST_VNNMAP && destnode != CTDB_BROADCAST_VNNMAP && 
+       if (destnode != CTDB_BROADCAST_VNNMAP && destnode != CTDB_BROADCAST_ALL && 
            (!ctdb_validate_vnn(ctdb, destnode) || 
             !(ctdb->nodes[destnode]->flags & NODE_FLAGS_CONNECTED))) {
                if (!(flags & CTDB_CTRL_FLAG_NOREPLY)) {