diff options
-rw-r--r-- | source3/include/proto.h | 1 | ||||
-rw-r--r-- | source3/nmbd/nmbd_packets.c | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index dec48e8714..b5a1bfa56e 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -5637,6 +5637,7 @@ struct response_record *queue_node_status( struct subnet_record *subrec, void reply_netbios_packet(struct packet_struct *orig_packet, int rcode, enum netbios_reply_type_code rcv_code, int opcode, int ttl, char *data,int len); +void queue_packet(struct packet_struct *packet); void run_packet_queue(void); void retransmit_or_expire_response_records(time_t t); bool listen_for_packets(bool run_election); diff --git a/source3/nmbd/nmbd_packets.c b/source3/nmbd/nmbd_packets.c index c1d373aa18..4b97819a14 100644 --- a/source3/nmbd/nmbd_packets.c +++ b/source3/nmbd/nmbd_packets.c @@ -28,8 +28,6 @@ extern int global_nmb_port; extern int num_response_packets; -static void queue_packet(struct packet_struct *packet); - bool rescan_listen_set = False; @@ -1004,7 +1002,7 @@ for id %hu\n", packet_type, nmb_namestr(&orig_nmb->question.question_name), Queue a packet into a packet queue ******************************************************************/ -static void queue_packet(struct packet_struct *packet) +void queue_packet(struct packet_struct *packet) { struct packet_struct *p; |