diff options
| author | Michael Brown | 2013-11-01 16:52:31 +0100 |
|---|---|---|
| committer | Michael Brown | 2013-11-01 17:17:28 +0100 |
| commit | a3346e35877db114d467c55fc14856334d2278ab (patch) | |
| tree | ebe8cb4d361435133fc5d7286de0c9140bdcaf29 /src/include | |
| parent | [netdevice] Make all net_driver methods optional (diff) | |
| download | ipxe-a3346e35877db114d467c55fc14856334d2278ab.tar.gz ipxe-a3346e35877db114d467c55fc14856334d2278ab.tar.xz ipxe-a3346e35877db114d467c55fc14856334d2278ab.zip | |
[interface] Default to calling intf_restart() in response to intf_close()
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>
Diffstat (limited to 'src/include')
0 files changed, 0 insertions, 0 deletions
