summaryrefslogtreecommitdiff
path: root/net/mcl/files/patch-mcl_debug.cpp
diff options
context:
space:
mode:
authorBruce M Simpson <bms@FreeBSD.org>2003-11-14 16:33:33 +0000
committerBruce M Simpson <bms@FreeBSD.org>2003-11-14 16:33:33 +0000
commit7ab4a1fe58139bc586065444a529c554479c2574 (patch)
treedda92305527359c66a3e9895a576058f950793bf /net/mcl/files/patch-mcl_debug.cpp
parentFix packaging when OSPFAPI is requested. This installs additional headers, (diff)
Add mcl 2.99,
implementation of the ALC and NORM Reliable Multicast Protocols. PR: 58728 Submitted by: past@noc.ntua.gr
Notes
Notes: svn path=/head/; revision=93959
Diffstat (limited to 'net/mcl/files/patch-mcl_debug.cpp')
-rw-r--r--net/mcl/files/patch-mcl_debug.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/mcl/files/patch-mcl_debug.cpp b/net/mcl/files/patch-mcl_debug.cpp
new file mode 100644
index 000000000000..982503f326c9
--- /dev/null
+++ b/net/mcl/files/patch-mcl_debug.cpp
@@ -0,0 +1,11 @@
+--- src/common/mcl_debug.cpp.orig Tue Jul 22 19:37:39 2003
++++ src/common/mcl_debug.cpp Wed Oct 15 17:55:58 2003
+@@ -73,7 +73,7 @@
+ PRINT_OUT((mcl_stdout, "\tDUMP %d first bytes...\n\t", i * sizeof(int)))
+ for (ptr = (int*)buf; i > 0; i--, ptr++) {
+ /* convert to big endian format to be sure of byte order */
+- PRINT_OUT((mcl_stdout, "%08x ", htonl(*ptr)))
++ PRINT_OUT((mcl_stdout, "%08lx ", htonl(*ptr)))
+ if (++j == 8) {
+ j = 0;
+ PRINT_OUT((mcl_stdout, "\n\t"))