Use enums for smbvers to prevent incorrect input

This commit is contained in:
Wolfgang Link
2018-06-06 13:23:29 +02:00
committed by Thomas Lamprecht
parent ff6fa67fb6
commit c2f12dc648

View File

@ -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,
},
};