diff options
author | Andrew Tridgell <tridge@samba.org> | 1998-08-30 08:45:23 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1998-08-30 08:45:23 +0000 |
commit | 179e8c66f121e01b5e69ad8b1c39f8a1a1e45814 (patch) | |
tree | e404f029fbf2641365d5f618217d741cffae462c /source3/include/proto.h | |
parent | 3debe642bd299e1aed8578df342f4bfecf5d8b3b (diff) | |
download | samba-179e8c66f121e01b5e69ad8b1c39f8a1a1e45814.tar.gz samba-179e8c66f121e01b5e69ad8b1c39f8a1a1e45814.tar.bz2 samba-179e8c66f121e01b5e69ad8b1c39f8a1a1e45814.zip |
changed the way that name query records are sorted in replies. They
are now sorted by the number of common leading bits in the IP address
with the address of the querying host.
(This used to be commit 4460a1bc6aa7666d1c71d32ba73855d6ed32320a)
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r-- | source3/include/proto.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 0312d25f86..56e7d7f88f 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -458,6 +458,7 @@ void make_nmb_name( struct nmb_name *n, char *name, int type, char *this_scope ) BOOL nmb_name_equal(struct nmb_name *n1, struct nmb_name *n2); BOOL send_packet(struct packet_struct *p); struct packet_struct *receive_packet(int fd,enum packet_type type,int t); +void sort_query_replies(char *data, int n, struct in_addr ip); /*The following definitions come from libsmb/nterr.c */ |