If an object interface does not provide an intf_close() method, then default to calling intf_restart(). This allows static objects to safely ignore intf_close(), without needing to add code solely to ensure that the interface gets unplugged. Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
|
||
34 |
|
34 |
|
35 |
|
35 |
|
36 |
|
36 |
|
|
37 |
|
|
|
38 |
|
|
|
39 |
|
|
|
40 |
|
|
|
41 |
|
|
|
42 |
|
|
|
43 |
|
|
|
44 |
|
|
|
45 |
|
|
|
46 |
|
|
|
47 |
|
|
|
48 |
|
|
|
49 |
|
|
|
50 |
|
|
37 |
|
51 |
|
38 |
|
|
|
|
52 |
|
|
|
53 |
|
|
|
54 |
|
|
39 |
|
55 |
|
40 |
|
56 |
|
41 |
|
57 |
|
|
|
||
233 |
|
249 |
|
234 |
|
250 |
|
235 |
|
251 |
|
236 |
|
|
|
|
252 |
|
|
|
253 |
|
|
237 |
|
254 |
|
238 |
|
255 |
|
239 |
|
256 |
|