diff --git a/aws/vpc.go b/aws/vpc.go index 8db805f..f5fe377 100644 --- a/aws/vpc.go +++ b/aws/vpc.go @@ -110,6 +110,8 @@ func (v *vpcclient) DescribeVPCPeerCIDRs(vpcID string) ([]*net.IPNet, error) { peer = peering.RequesterVpcInfo } else if vpcID == *peering.RequesterVpcInfo.VpcId { peer = peering.AccepterVpcInfo + } else { + continue } for _, cidrBlock := range peer.CidrBlockSet {