summaryrefslogtreecommitdiffstats
path: root/mbone/sdr
diff options
context:
space:
mode:
authorfenner <fenner@FreeBSD.org>1996-11-12 22:02:54 +0000
committerfenner <fenner@FreeBSD.org>1996-11-12 22:02:54 +0000
commite2760654710d3c4e841cabf6ac05a9e45980cb72 (patch)
treea47ccbabc14942b8ff6bfe8d25b041652c87cd10 /mbone/sdr
parent90d17596d8563711b502a70b509259e5c8afdae4 (diff)
downloadFreeBSD-ports-e2760654710d3c4e841cabf6ac05a9e45980cb72.zip
FreeBSD-ports-e2760654710d3c4e841cabf6ac05a9e45980cb72.tar.gz
Fix endian-ness problem in bitfield.
Pointed-out-by: Denis DeLaRoca <CSP1DWD@mvs.oac.ucla.edu>
Diffstat (limited to 'mbone/sdr')
-rw-r--r--mbone/sdr/files/patch-ac27
1 files changed, 27 insertions, 0 deletions
diff --git a/mbone/sdr/files/patch-ac b/mbone/sdr/files/patch-ac
new file mode 100644
index 0000000..d7a0866
--- /dev/null
+++ b/mbone/sdr/files/patch-ac
@@ -0,0 +1,27 @@
+Index: src/sdr.h
+===================================================================
+RCS file: /tilde/fenner/conf/sdr/cvs/sdr/src/sdr.h,v
+retrieving revision 1.7
+diff -c -r1.7 sdr.h
+*** 1.7 1996/11/12 17:33:22
+--- sdr.h 1996/11/12 17:39:10
+***************
+*** 147,156 ****
+--- 147,163 ----
+ };
+
+ struct sap_header {
++ #if BYTE_ORDER == BIG_ENDIAN
+ u_int version:3;
+ u_int type:3;
+ u_int enc:1;
+ u_int compress:1;
++ #else
++ u_int compress:1;
++ u_int enc:1;
++ u_int type:3;
++ u_int version:3;
++ #endif
+ u_int authlen:8;
+ u_int msgid:16;
+ u_int src;
OpenPOWER on IntegriCloud