diff options
author | Michael Brown | 2015-07-21 15:51:16 +0200 |
---|---|---|
committer | Michael Brown | 2015-07-28 14:48:29 +0200 |
commit | 9c185e2eac39561c2e9847c355c5b710c3e557b5 (patch) | |
tree | a423a7f2e1af836bf61e1ef42b31e9aa5b1eef53 /src/net/ipv4.c | |
parent | [ipv6] Treat a missing network device name as "netX" (diff) | |
download | ipxe-9c185e2eac39561c2e9847c355c5b710c3e557b5.tar.gz ipxe-9c185e2eac39561c2e9847c355c5b710c3e557b5.tar.xz ipxe-9c185e2eac39561c2e9847c355c5b710c3e557b5.zip |
[netdevice] Avoid using zero as a network device index
Avoid using zero as a network device index, so that a zero
sin6_scope_id can be used to mean "unspecified" (rather than
unintentionally meaning "net0").
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/net/ipv4.c')
0 files changed, 0 insertions, 0 deletions