Drivers are currently expected to initialise only the hardware address, with the link-layer protocol code taking care of converting this into a valid link-layer address. Some drivers (e.g. undinet) can legitimately determine both the hardware and link-layer addresses, which may differ. Allow for this situation by checking to see if the link-layer address is empty before initialising it from the hardware address. Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
|
||
62 |
|
62 |
|
63 |
|
63 |
|
64 |
|
64 |
|
|
65 |
|
|
|
66 |
|
|
|
67 |
|
|
|
68 |
|
|
|
69 |
|
|
|
70 |
|
|
|
71 |
|
|
|
72 |
|
|
|
73 |
|
|
|
74 |
|
|
|
75 |
|
|
|
76 |
|
|
|
77 |
|
|
|
78 |
|
|
|
79 |
|
|
|
80 |
|
|
|
81 |
|
|
65 |
|
82 |
|
66 |
|
83 |
|
67 |
|
84 |
|
|
|
||
432 |
|
449 |
|
433 |
|
450 |
|
434 |
|
451 |
|
435 |
|
|
|
436 |
|
|
|
|
452 |
|
|
|
453 |
|
|
|
454 |
|
|
|
455 |
|
|
|
456 |
|
|
437 |
|
457 |
|
438 |
|
458 |
|
439 |
|
459 |
|