diff options
| author | Shao Miller | 2009-06-11 21:12:27 +0200 |
|---|---|---|
| committer | Michael Brown | 2009-06-13 13:04:08 +0200 |
| commit | 68973f1c491060cbe4c559467dd103866b04129d (patch) | |
| tree | ca21109d64a0ef27d5267e1263f3b863e73efa80 /src/include/strings.h | |
| parent | [netdevice] Fix incorrect value for MAX_LL_HEADER_LEN (diff) | |
| download | ipxe-68973f1c491060cbe4c559467dd103866b04129d.tar.gz ipxe-68973f1c491060cbe4c559467dd103866b04129d.tar.xz ipxe-68973f1c491060cbe4c559467dd103866b04129d.zip | |
[settings] Fix setting_cmp() to handle nameless settings
setting_cmp() compares by option tag and then by name. Empty names
will always match, which gives us a false positive.
Fix by explicitly checking for empty names.
Modified-by: Michael Brown <mcb30@etherboot.org>
Signed-off-by: Michael Brown <mcb30@etherboot.org>
Diffstat (limited to 'src/include/strings.h')
0 files changed, 0 insertions, 0 deletions
