This commit is contained in:
TangBin
2018-10-31 17:10:19 +08:00
parent 0b09372ffa
commit e9bec7e151
+1 -1
View File
@@ -275,7 +275,7 @@ func AwsIpPermissionToYunion(direction secrules.TSecurityRuleDirection, p ec2.Ip
}
if p.ToPort != nil {
rule.PortStart = int(*p.ToPort)
rule.PortEnd = int(*p.ToPort)
}
}