PERFORCE change 153865 for review

Robert Watson rwatson at FreeBSD.org
Sun Nov 30 15:45:18 PST 2008


http://perforce.freebsd.org/chv.cgi?CH=153865

Change 153865 by rwatson at rwatson_cinnamon_macosx on 2008/11/30 23:44:27

	Use BSM address identifier, not OS address identifier for
	sock_ex tokens.

Affected files ...

.. //depot/projects/trustedbsd/openbsm/libbsm/bsm_token.c#76 edit

Differences ...

==== //depot/projects/trustedbsd/openbsm/libbsm/bsm_token.c#76 (text+ko) ====

@@ -30,7 +30,7 @@
  * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
  *
- * $P4: //depot/projects/trustedbsd/openbsm/libbsm/bsm_token.c#75 $
+ * $P4: //depot/projects/trustedbsd/openbsm/libbsm/bsm_token.c#76 $
  */
 
 #include <sys/types.h>
@@ -401,7 +401,7 @@
 {
 	token_t *t;
 	u_char *dptr = NULL;
-	u_int32_t type = AF_INET6;
+	u_int32_t type = AU_IPv6;
 
 	GET_TOKEN_AREA(t, dptr, sizeof(u_char) + 5 * sizeof(uint32_t));
 	if (t == NULL)


More information about the p4-projects mailing list