summaryrefslogtreecommitdiff
path: root/news/golded+/files/patch-golded3::gehdre.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'news/golded+/files/patch-golded3::gehdre.cpp')
-rw-r--r--news/golded+/files/patch-golded3::gehdre.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/news/golded+/files/patch-golded3::gehdre.cpp b/news/golded+/files/patch-golded3::gehdre.cpp
new file mode 100644
index 000000000000..fb16c5ab4d97
--- /dev/null
+++ b/news/golded+/files/patch-golded3::gehdre.cpp
@@ -0,0 +1,11 @@
+--- ./golded3/gehdre.cpp.orig Mon Oct 20 02:57:23 2003
++++ ./golded3/gehdre.cpp Mon Oct 20 02:58:21 2003
+@@ -511,7 +511,7 @@
+ // Try to match akas with the dest address, but only if the orig address was NOT changed
+ vector<gaka>::iterator i;
+ for(i = CFG->aka.begin(); i != CFG->aka.end(); i++) {
+- if(memcmp(&msg->orig, i, sizeof(Addr)) == 0)
++ if(memcmp(&msg->orig, &(*i), sizeof(Addr)) == 0)
+ break; // Found one of our own akas.
+ }
+