mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
optional (0of or 1of) with "[+]" semantics.
This commit is contained in:
parent
7e3fe77ab2
commit
55a3e4b592
@ -101,7 +101,7 @@ typedef struct {
|
||||
/* security package if CAP_EXTENDED_SECURITY is */
|
||||
/* on in the Capabilities field; else challenge */
|
||||
/* for CIFS challenge/response authentication. */
|
||||
string OemDomainName; /*The name of the domain (in OEM chars); not */
|
||||
string OemDomainName[+]; /*The name of the domain (in OEM chars); not */
|
||||
/* present if CAP_EXTENDED_SECURITY is on in the */
|
||||
/* Capabilities field */
|
||||
} R_NEGPROT_17;
|
||||
|
@ -16,6 +16,11 @@ function parse_array(f, v, elnum, flags,
|
||||
v["FLAGS"] = flags;
|
||||
v["ARRAY_LEN"] = array_len;
|
||||
|
||||
if (array_len=="+") {
|
||||
print_template(f,"prs_array_optional.tpl", v);
|
||||
return;
|
||||
}
|
||||
|
||||
if (array_len=="*") {
|
||||
print_template(f,"prs_array_remainder.tpl", v);
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user