diff options
Diffstat (limited to 'source3/libsmb/namequery.c')
-rw-r--r-- | source3/libsmb/namequery.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/source3/libsmb/namequery.c b/source3/libsmb/namequery.c index ab98a12146..e7dd22ad10 100644 --- a/source3/libsmb/namequery.c +++ b/source3/libsmb/namequery.c @@ -658,32 +658,6 @@ static NTSTATUS nb_trans_recv(struct tevent_req *req, } /**************************************************************************** - Try and send a request to nmbd to send a packet_struct packet first. - If this fails, use send_packet(). -**************************************************************************/ - -static bool send_packet_request(struct packet_struct *p) -{ - struct messaging_context *msg_ctx = server_messaging_context(); - if (msg_ctx) { - pid_t nmbd_pid = pidfile_pid("nmbd"); - - if (nmbd_pid) { - /* Try nmbd. */ - if (NT_STATUS_IS_OK(messaging_send_buf(msg_ctx, - pid_to_procid(nmbd_pid), - MSG_SEND_PACKET, - (uint8_t *)p, - sizeof(struct packet_struct)))) { - return true; - } - } - } - - return send_packet(p); -} - -/**************************************************************************** Do a NBT node status query on an open socket and return an array of structures holding the returned names or NULL if the query failed. **************************************************************************/ |