Use enums for smbvers to prevent incorrect input
This commit is contained in:
committed by
Thomas Lamprecht
parent
ff6fa67fb6
commit
c2f12dc648
@ -104,8 +104,9 @@ sub properties {
|
||||
maxLength => 256,
|
||||
},
|
||||
smbversion => {
|
||||
description => "",
|
||||
description => "SMB protokoll version",
|
||||
type => 'string',
|
||||
enum => ['2.0', '2.1', '3.0'],
|
||||
optional => 1,
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user