Implemented IP utils
This commit is contained in:
1 parent
1cdf18747d
commit
ebd5a3d3a6
2 files changed
+28
-6
No files matched your search
@@ -45,17 +45,17 @@ export class NetworkValidationIpV4Config
|
||||
{
|
||||
@IsIP()
|
||||
@IsOptional()
|
||||
ip: number;
|
||||
ip: string;
|
||||
|
||||
@IsIP()
|
||||
@IsOptional()
|
||||
gateway: number;
|
||||
gateway: string;
|
||||
|
||||
@IsIP()
|
||||
@IsOptional()
|
||||
subnet: number;
|
||||
subnet: string;
|
||||
|
||||
@IsIP()
|
||||
@IsOptional()
|
||||
dns: number;
|
||||
dns: string;
|
||||
}
|
||||
Reference in new issue
Block a user