OSSP CVS Repository

ossp - Difference in ossp-pkg/uuid/uuid_mac.c versions 1.7 and 1.8
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/uuid/uuid_mac.c 1.7 -> 1.8

--- uuid_mac.c   2005/03/29 19:01:41     1.7
+++ uuid_mac.c   2005/06/15 18:34:04     1.8
@@ -166,9 +166,11 @@
             close(s);
             return FALSE;
         }
+        close(s);
+        if (!(ar.arp_flags & ATF_COM))
+            return FALSE;
         for (i = 0; i < MAC_LEN; i++)
             data_ptr[i] = (unsigned char)(ar.arp_ha.sa_data[i] & 0xff);
-        close(s);
         return TRUE;
     }
 #endif

CVSTrac 2.0.1