1 diff -urN dsniff-2.3.org/dnsspoof.c dsniff-2.3/dnsspoof.c
2 --- dsniff-2.3.org/dnsspoof.c Wed Dec 20 23:59:36 2000
3 +++ dsniff-2.3/dnsspoof.c Thu Dec 21 00:11:04 2000
12 diff -urN dsniff-2.3.org/msgsnarf.c dsniff-2.3/msgsnarf.c
13 --- dsniff-2.3.org/msgsnarf.c Wed Dec 20 23:59:36 2000
14 +++ dsniff-2.3/msgsnarf.c Thu Dec 21 00:11:19 2000
23 diff -urN dsniff-2.3.org/record.c dsniff-2.3/record.c
24 --- dsniff-2.3.org/record.c Wed Dec 20 23:59:36 2000
25 +++ dsniff-2.3/record.c Thu Dec 21 00:13:29 2000
30 +#include <md5global.h>
33 #define DB_LIBRARY_COMPATIBILITY_API
34 diff -urN dsniff-2.3.org/slist.h dsniff-2.3/slist.h
35 --- dsniff-2.3.org/slist.h Thu Jan 1 01:00:00 1970
36 +++ dsniff-2.3/slist.h Thu Dec 21 00:07:48 2000
41 + * Singly-linked List definitions.
43 +#define SLIST_HEAD(name, type) \
45 + struct type *slh_first; /* first element */ \
48 +#define SLIST_HEAD_INITIALIZER(head) \
51 +#define SLIST_ENTRY(type) \
53 + struct type *sle_next; /* next element */ \
57 + * Singly-linked List access methods.
59 +#define SLIST_FIRST(head) ((head)->slh_first)
60 +#define SLIST_END(head) NULL
61 +#define SLIST_EMPTY(head) (SLIST_FIRST(head) == SLIST_END(head))
62 +#define SLIST_NEXT(elm, field) ((elm)->field.sle_next)
64 +#define SLIST_FOREACH(var, head, field) \
65 + for((var) = SLIST_FIRST(head); \
66 + (var) != SLIST_END(head); \
67 + (var) = SLIST_NEXT(var, field))
70 + * Singly-linked List functions.
72 +#define SLIST_INIT(head) { \
73 + SLIST_FIRST(head) = SLIST_END(head); \
76 +#define SLIST_INSERT_AFTER(slistelm, elm, field) do { \
77 + (elm)->field.sle_next = (slistelm)->field.sle_next; \
78 + (slistelm)->field.sle_next = (elm); \
81 +#define SLIST_INSERT_HEAD(head, elm, field) do { \
82 + (elm)->field.sle_next = (head)->slh_first; \
83 + (head)->slh_first = (elm); \
86 +#define SLIST_REMOVE_HEAD(head, field) do { \
87 + (head)->slh_first = (head)->slh_first->field.sle_next; \