Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
5d46e55a
Commit
5d46e55a
authored
May 02, 2013
by
Kirk Webb
Browse files
Ignore the protocol passed in for local storage (if present).
parent
c81a592e
Changes
1
Hide whitespace changes
Inline
Side-by-side
tmcd/tmcd.c
View file @
5d46e55a
...
...
@@ -4328,10 +4328,7 @@ sendstoreconf(int sock, int tcp, tmcdreq_t *reqp, char *bscmd, char *vname)
}
/* local disk. */
else if ((strcmp(class, BS_CLASS_LOCAL) == 0) &&
((strcmp(protocol, BS_PROTO_SAS) == 0) ||
(strcmp(protocol, BS_PROTO_SCSI) == 0))) {
else if (strcmp(class, BS_CLASS_LOCAL) == 0) {
/* Set default placement if not defined. */
placement = strlen(placement) ? placement : BS_PLACEMENT_DEF;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment