returnnil,errors.Errorf("address family mismatch when assigning VPN addresses to node: node=%v, VPN ipv4=%v ipv6=%v",nodeIPs,vpnInfo.IPv4Address,vpnInfo.IPv6Address)
}
}
}
// Overwrite nodeip and flannel interface and throw a warning if user explicitly set those parameters
iflen(vpnIPs)!=0{
iflen(vpnIPs)!=0{
logrus.Infof("Node-ip changed to %v due to VPN",vpnIPs)
logrus.Infof("Node-ip changed to %v due to VPN",vpnIPs)