mirror of https://github.com/ipxe/ipxe.git
[ifmgmt] Include human-readable error message for configuration failure
Signed-off-by: Michael Brown <mcb30@ipxe.org>pull/46/head
parent
9939b704f1
commit
8290a10aba
|
@ -33,6 +33,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
|
|||
#include <ipxe/job.h>
|
||||
#include <ipxe/monojob.h>
|
||||
#include <ipxe/timer.h>
|
||||
#include <ipxe/errortab.h>
|
||||
#include <usr/ifmgmt.h>
|
||||
|
||||
/** @file
|
||||
|
@ -50,6 +51,11 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
|
|||
__einfo_uniqify ( EINFO_EADDRNOTAVAIL, 0x01, \
|
||||
"No configuration methods succeeded" )
|
||||
|
||||
/** Human-readable error message */
|
||||
struct errortab ifmgmt_errors[] __errortab = {
|
||||
__einfo_errortab ( EINFO_EADDRNOTAVAIL_CONFIG ),
|
||||
};
|
||||
|
||||
/**
|
||||
* Open network device
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue