OSSP CVS Repository

ossp - Difference in ossp-pkg/sa/sa.c versions 1.32 and 1.33
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/sa/sa.c 1.32 -> 1.33

--- sa.c 2001/10/11 15:12:19     1.32
+++ sa.c 2001/10/11 15:20:30     1.33
@@ -690,7 +690,11 @@
     if (saa1 == NULL || saa2 == NULL || prefixlen < -1)
         return SA_ERR_ARG;
 
-    /* match short circuiting */
+    /* short circuiting for wildcard matching */
+    if (prefixlen == 0)
+        return SA_OK;
+
+    /* short circuiting handling different families */
     if (saa1->nFamily != saa2->nFamily)
         return SA_ERR_MTC;
 

CVSTrac 2.0.1