]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[interface] Ignore any attempts to plug in the null interface
authorMichael Brown <mcb30@ipxe.org>
Mon, 7 Dec 2020 13:48:35 +0000 (13:48 +0000)
committerMichael Brown <mcb30@ipxe.org>
Mon, 7 Dec 2020 13:48:35 +0000 (13:48 +0000)
commitcb0ba2f8253bc4ed3b301928c4a84d6ca1e7593b
tree0607add8d15a13cad379cb22a009efff7b903105
parentb6e2ea03b031b6366d2cc3b69d19508763ea1f8a
[interface] Ignore any attempts to plug in the null interface

Allow intf_plug() and intf_plug_plug() to be called safely on
interfaces that may be the null interface.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/core/interface.c