diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2011-01-30 22:52:17 -0600 |
---|---|---|
committer | Mike Christie <michaelc@cs.wisc.edu> | 2011-01-31 21:52:19 -0600 |
commit | a1d833f3e1b851282004482d5f0c4dcc1d41dbdb (patch) | |
tree | 5d78c755556413c9c48344413fc7fa9331eea8be /include | |
parent | e267ef2616497eff3625b02e35d1ce6f3a703d5d (diff) | |
download | open-iscsi-a1d833f3e1b851282004482d5f0c4dcc1d41dbdb.tar.gz |
iscsid: add new auth error code
Add a new auth error code to make it easier for users
to tell if it failed due to a auth error vs other
target login error.
Diffstat (limited to 'include')
-rw-r--r-- | include/iscsi_err.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/iscsi_err.h b/include/iscsi_err.h index c54edee..9f7475e 100644 --- a/include/iscsi_err.h +++ b/include/iscsi_err.h @@ -52,6 +52,8 @@ enum { ISCSI_ERR_SYSFS_LOOKUP = 22, /* Could not lookup host */ ISCSI_ERR_HOST_NOT_FOUND = 23, + /* Login failed due to authorization failure */ + ISCSI_ERR_LOGIN_AUTH_FAILED = 24, /* Always last. Indicates end of error code space */ ISCSI_MAX_ERR_VAL, |