summaryrefslogtreecommitdiffstats
path: root/news/golded+/files/patch-golded3::gehdre.cpp
blob: fb16c5ab4d97378182be8df45519ec88ff2f7649 (plain)
1
2
3
4
5
6
7
8
9
10
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.
       }
 
OpenPOWER on IntegriCloud