diff options
author | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2014-10-29 09:26:55 +0000 |
---|---|---|
committer | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2014-10-29 09:26:55 +0000 |
commit | 053748835366c5938a11365b5005c21686312bdc (patch) | |
tree | 417bc9bb3b2edcd998af4172663bf2157043a24a /usr.sbin/ctld/token.l | |
parent | 1db6552d17f583ab5d13564a0f3878c1f93ad717 (diff) | |
download | src-053748835366c5938a11365b5005c21686312bdc.tar.gz src-053748835366c5938a11365b5005c21686312bdc.zip |
Add discovery-filter. This makes it possible to restrict which targets
are returned during discovery based on initiator portal, name, and CHAP
credentials.
Reviewed by: mav@
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
Notes
Notes:
svn path=/head/; revision=273813
Diffstat (limited to 'usr.sbin/ctld/token.l')
-rw-r--r-- | usr.sbin/ctld/token.l | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/ctld/token.l b/usr.sbin/ctld/token.l index 6d85dc70b537..c411a64abeda 100644 --- a/usr.sbin/ctld/token.l +++ b/usr.sbin/ctld/token.l @@ -58,6 +58,7 @@ chap-mutual { return CHAP_MUTUAL; } debug { return DEBUG; } device-id { return DEVICE_ID; } discovery-auth-group { return DISCOVERY_AUTH_GROUP; } +discovery-filter { return DISCOVERY_FILTER; } initiator-name { return INITIATOR_NAME; } initiator-portal { return INITIATOR_PORTAL; } listen { return LISTEN; } |