diff options
author | Adheer Chandravanshi <adheer.chandravanshi@qlogic.com> | 2013-07-09 08:17:14 -0400 |
---|---|---|
committer | Mike Christie <michaelc@cs.wisc.edu> | 2013-09-11 15:56:28 -0700 |
commit | 3256b93ee3025bf76757001ff3d24914c4c4af28 (patch) | |
tree | ea215b37abd8ccf4d4662ab82a932c93a7479b57 /usr/types.h | |
parent | bf399411ed8a2f4047f928653ac8dd02ffd0f662 (diff) | |
download | open-iscsi-3256b93ee3025bf76757001ff3d24914c4c4af28.tar.gz |
iscsiadm: Correctly check for invalid hostno and flashnode index
In host mode, correctly compare for invalid hostno and flashnode index.
Signed-off-by: Adheer Chandravanshi <adheer.chandravanshi@qlogic.com>
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Diffstat (limited to 'usr/types.h')
-rw-r--r-- | usr/types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/types.h b/usr/types.h index 77e3f97..9d9ba86 100644 --- a/usr/types.h +++ b/usr/types.h @@ -10,6 +10,7 @@ #include <netinet/in.h> #include <stdint.h> #include <sys/types.h> +#include <limits.h> /* * using the __be types allows stricter static |