There are currently four places within the codebase that use a heuristic to guess the "boot network device", with varying degrees of success. Add a feature to the net device core to maintain a list of open network devices, in order of opening, and provide a function last_opened_netdev() to retrieve the most recently opened net device. This should do a better job than the current assortment of guess_boot_netdev() functions.tags/v0.9.6
|
|
||
| 229 |
|
229 |
|
| 230 |
|
230 |
|
| 231 |
|
231 |
|
|
232 |
|
|
|
233 |
|
|
| 232 |
|
234 |
|
| 233 |
|
235 |
|
| 234 |
|
236 |
|
|
|
||
| 424 |
|
426 |
|
| 425 |
|
427 |
|
| 426 |
|
428 |
|
|
429 |
|
|
| 427 |
|
430 |
|
| 428 |
|
431 |
|
| 429 |
|
432 |
|
|
|
||
| 45 |
|
45 |
|
| 46 |
|
46 |
|
| 47 |
|
47 |
|
|
48 |
|
|
|
49 |
|
|
|
50 |
|
|
| 48 |
|
51 |
|
| 49 |
|
52 |
|
| 50 |
|
53 |
|
|
|
||
| 368 |
|
371 |
|
| 369 |
|
372 |
|
| 370 |
|
373 |
|
|
374 |
|
|
|
375 |
|
|
|
376 |
|
|
|
377 |
|
|
| 371 |
|
378 |
|
| 372 |
|
379 |
|
| 373 |
|
380 |
|
|
|
||
| 393 |
|
400 |
|
| 394 |
|
401 |
|
| 395 |
|
402 |
|
|
403 |
|
|
|
404 |
|
|
|
405 |
|
|
| 396 |
|
406 |
|
| 397 |
|
407 |
|
| 398 |
|
408 |
|
|
|
||
| 462 |
|
472 |
|
| 463 |
|
473 |
|
| 464 |
|
474 |
|
|
475 |
|
|
|
476 |
|
|
|
477 |
|
|
|
478 |
|
|
|
479 |
|
|
|
480 |
|
|
|
481 |
|
|
|
482 |
|
|
|
483 |
|
|
|
484 |
|
|
|
485 |
|
|
|
486 |
|
|
|
487 |
|
|
|
488 |
|
|
|
489 |
|
|
|
490 |
|
|
| 465 |
|
491 |
|
| 466 |
|
492 |
|
| 467 |
|
493 |
|