Changeset 11639 in vbox for trunk/src/VBox/Main/darwin
- Timestamp:
- Aug 26, 2008 1:09:17 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/darwin/iokit.cpp
r11638 r11639 1569 1569 1570 1570 /* 1571 * Link it into the list, keep the list sorted by the BSD name.1571 * Link it into the list, keep the list sorted by fPrimaryIf and the BSD name. 1572 1572 */ 1573 1573 if (pTail) … … 1578 1578 pPrev = NULL; 1579 1579 for (PDARWINETHERNIC pCur = pHead; pCur; pPrev = pCur, pCur = pCur->pNext) 1580 if (strcmp(pNew->szBSDName, pCur->szBSDName) >= 0) 1580 if ( (int)pNew->fPrimaryIf - (int)pCur->fPrimaryIf >= 0 1581 && strcmp(pNew->szBSDName, pCur->szBSDName) >= 0) 1581 1582 break; 1582 1583 }
Note:
See TracChangeset
for help on using the changeset viewer.