summaryrefslogtreecommitdiff
path: root/net/tcptrace/files/patch-ab
diff options
context:
space:
mode:
authorBill Fenner <fenner@FreeBSD.org>2001-03-10 01:38:28 +0000
committerBill Fenner <fenner@FreeBSD.org>2001-03-10 01:38:28 +0000
commit201d12605a37e896b42b251ea0cee62fcb36b58f (patch)
treee5e0b424129655786fc6115516be8c0ee388c129 /net/tcptrace/files/patch-ab
parentUse X Prefix, like xmms itself. (diff)
Handle private differently-prototyped ether_ntoa()
Notes
Notes: svn path=/head/; revision=39331
Diffstat (limited to 'net/tcptrace/files/patch-ab')
-rw-r--r--net/tcptrace/files/patch-ab22
1 files changed, 22 insertions, 0 deletions
diff --git a/net/tcptrace/files/patch-ab b/net/tcptrace/files/patch-ab
new file mode 100644
index 000000000000..5b80baf8eda3
--- /dev/null
+++ b/net/tcptrace/files/patch-ab
@@ -0,0 +1,22 @@
+/usr/bin/diff --ignore-matching-lines=.*{$Id:|$Header:}.* -u tcptrace.h.orig tcptrace.h
+--- tcptrace.h.orig Fri Mar 9 17:30:34 2001
++++ tcptrace.h Fri Mar 9 17:31:08 2001
+@@ -485,7 +485,7 @@
+
+ /* external routine decls */
+ double sqrt(double x);
+-char *ether_ntoa(struct ether_addr *e);
++char *shawn_ether_ntoa(struct ether_addr *e);
+ void free(void *);
+ int finite(double);
+
+@@ -681,7 +680,9 @@
+ #define IPTOS_CE 0x01 /* Experienced Congestion */
+
+ #define TH_ECN_ECHO 0x02 /* Used by receiver to echo CE bit */
++#ifndef TH_CWR
+ #define TH_CWR 0x01 /* Congestion Window Reduced */
++#endif
+
+
+