OSSP CVS Repository

ossp - Check-in [1123]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 1123
Date: 2001-Oct-09 16:58:22 (local)
2001-Oct-09 14:58:22 (UTC)
User:rse
Branch:
Comment: bugfix sa_addr_match()
Tickets:
Inspections:
Files:
ossp-pkg/sa/sa.c      1.16 -> 1.17     1 inserted, 1 deleted

ossp-pkg/sa/sa.c 1.16 -> 1.17

--- sa.c 2001/10/09 14:05:55     1.16
+++ sa.c 2001/10/09 14:58:22     1.17
@@ -769,7 +769,7 @@
     nBytes = (prefixlen / 8);
     nBits  = (prefixlen % 8);
     if (nBytes > 0) {
-        if (memcmp(ucp1, ucp1, nBytes) != 0)
+        if (memcmp(ucp1, ucp2, nBytes) != 0)
             return SA_ERR_MTC;
     }
     if (nBits > 0) {

CVSTrac 2.0.1