summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorMike Christie <michaelc@cs.wisc.edu>2011-10-12 01:00:31 -0500
committerMike Christie <michaelc@cs.wisc.edu>2011-10-12 01:00:31 -0500
commit36d20a2032ec45ce82b086841d8810d8c7a78428 (patch)
tree1fcc8511c3ca822a0e2ca50936a9e03c8c2e499f /utils
parent953f1d229519e988125b504f3813544de41dab32 (diff)
downloadopen-iscsi-36d20a2032ec45ce82b086841d8810d8c7a78428.tar.gz
iscsi tools: fix ipv6 ibft/firmware boot
The address buffers are too short for many ipv6 addresses and if ibft/firmware gives us a hostname. As a result iscsistart and iscsiadm were printing/getting a truncated address which would cause login and network startup to fail.
Diffstat (limited to 'utils')
-rw-r--r--utils/fwparam_ibft/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/fwparam_ibft/Makefile b/utils/fwparam_ibft/Makefile
index ca07b76..c72bb7f 100644
--- a/utils/fwparam_ibft/Makefile
+++ b/utils/fwparam_ibft/Makefile
@@ -28,7 +28,7 @@ CLEANFILES = $(OBJS) *.output *~
OPTFLAGS ?= -O2 -g -fPIC
WARNFLAGS ?= -Wall -Wstrict-prototypes
-CFLAGS += $(OPTFLAGS) $(WARNFLAGS) -I../../include -I../../usr
+CFLAGS += $(OPTFLAGS) $(WARNFLAGS) -I../../include -I../../usr -D_GNU_SOURCE
all: $(OBJS)