if (node->pnn == ctdb->pnn) {
ctdb_defer_packet(ctdb, hdr);
- } else {
- if (ctdb->methods == NULL) {
- DEBUG(DEBUG_ALERT, (__location__ " Can not queue packet. Transport is DOWN\n"));
- return;
- }
+ return;
+ }
- node->tx_cnt++;
- if (ctdb->methods->queue_pkt(node, (uint8_t *)hdr, hdr->length) != 0) {
- ctdb_fatal(ctdb, "Unable to queue packet\n");
- }
+ if (ctdb->methods == NULL) {
+ DEBUG(DEBUG_ALERT, (__location__ " Can not queue packet. "
+ "Transport is DOWN\n"));
+ return;
+ }
+
+ node->tx_cnt++;
+ if (ctdb->methods->queue_pkt(node, (uint8_t *)hdr, hdr->length) != 0) {
+ ctdb_fatal(ctdb, "Unable to queue packet\n");
}
}