commit | 6166753b1295119cfd8f7a5973b0b523098ef263 | [log] [download] |
---|---|---|
author | Paul Nasrat <pnasrat@redhat.com> | Thu May 17 13:54:20 2007 +0100 |
committer | Paul Nasrat <pauln@enki.eridu> | Thu May 17 13:54:20 2007 +0100 |
tree | 45d8fb445bbabed3c3bed54f33890b5c7aec2a30 | |
parent | cfe3648f1f16d7399a2f0818ffb4e64da0c07cf5 [diff] |
Netboot fixes: - the ARRAY_SIZE macro is no more needed here, - use of cfgpath to have the actual config path to apply for mac *and* ip lookup, - no need to free a buffer big enough, and besides malloc(9) was not enough ("/etc/" missed), - use of intermediate length variables to avoid unneeded calls to strlen() and strrchr(). benoit.guillon <benoit.guillon@tele2.fr>