aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/iscsictl/token.l
diff options
context:
space:
mode:
authorEdward Tomasz Napierala <trasz@FreeBSD.org>2016-05-31 11:32:07 +0000
committerEdward Tomasz Napierala <trasz@FreeBSD.org>2016-05-31 11:32:07 +0000
commitba165a31b34d9543fe574609b1c8ca947132867d (patch)
treef57ecea9678102f6e68e4e8d609716c155fee5e8 /usr.bin/iscsictl/token.l
parent4b2933da88a53daefebdbf0dd59633b84ff6f77f (diff)
downloadsrc-ba165a31b34d9543fe574609b1c8ca947132867d.tar.gz
src-ba165a31b34d9543fe574609b1c8ca947132867d.zip
Add "iscsictl -e". Among other things, it makes it possible to perform
discovery without attaching to the targets ("iscsictl -Ad ... -e off"), and then attach to selected ones ("iscsictl -Mi ... -e on"). PR: 204129 MFC after: 1 month Relnotes: yes Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D6633
Notes
Notes: svn path=/head/; revision=301033
Diffstat (limited to 'usr.bin/iscsictl/token.l')
-rw-r--r--usr.bin/iscsictl/token.l1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/iscsictl/token.l b/usr.bin/iscsictl/token.l
index 8cf2fecdafec..c9e3e7235703 100644
--- a/usr.bin/iscsictl/token.l
+++ b/usr.bin/iscsictl/token.l
@@ -62,6 +62,7 @@ tgtChapName { return MUTUAL_USER; }
tgtChapSecret { return MUTUAL_SECRET; }
AuthMethod { return AUTH_METHOD; }
SessionType { return SESSION_TYPE; }
+enable { return ENABLE; }
protocol { return PROTOCOL; }
offload { return OFFLOAD; }
port { return IGNORED; }