mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
- Recognize the 'volume' parameter when creating a plex.
PR: kern/75632 Approved by: pjd (mentor) MFC after: 1 day
This commit is contained in:
parent
c730aefff3
commit
4e70f1decf
1 changed files with 2 additions and 1 deletions
|
|
@ -525,7 +525,8 @@ gv_new_plex(int max, char *token[])
|
|||
break;
|
||||
}
|
||||
p->state = gv_plexstatei(token[j]);
|
||||
} else if (!strcmp(token[j], "vol")) {
|
||||
} else if (!strcmp(token[j], "vol") ||
|
||||
!strcmp(token[j], "volume")) {
|
||||
j++;
|
||||
if (j >= max) {
|
||||
errors++;
|
||||
|
|
|
|||
Loading…
Reference in a new issue