PERFORCE change 150654 for review

Hans Petter Selasky hselasky at FreeBSD.org
Mon Sep 29 14:40:16 UTC 2008


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

Change 150654 by hselasky at hselasky_laptop001 on 2008/09/29 14:40:00

	
	Regression issue. Increase the size of the buffer for the MAC-address.

Affected files ...

.. //depot/projects/usb/src/sys/dev/usb2/ethernet/if_cdce2.c#9 edit

Differences ...

==== //depot/projects/usb/src/sys/dev/usb2/ethernet/if_cdce2.c#9 (text+ko) ====

@@ -228,7 +228,7 @@
 	uint8_t alt_index;
 	uint8_t i;
 	uint8_t eaddr[ETHER_ADDR_LEN];
-	char eaddr_str[3 * ETHER_ADDR_LEN];	/* approx */
+	char eaddr_str[5 * ETHER_ADDR_LEN];	/* approx */
 
 	if (sc == NULL) {
 		return (ENOMEM);


More information about the p4-projects mailing list