|
@@ -463,6 +463,8 @@ func (epj *endpointJoinInfo) CopyTo(dstEpj *endpointJoinInfo) error {
|
|
|
dstEpj.disableGatewayService = epj.disableGatewayService
|
|
|
dstEpj.StaticRoutes = make([]*types.StaticRoute, len(epj.StaticRoutes))
|
|
|
copy(dstEpj.StaticRoutes, epj.StaticRoutes)
|
|
|
+ dstEpj.driverTableEntries = make([]*tableEntry, len(epj.driverTableEntries))
|
|
|
+ copy(dstEpj.driverTableEntries, epj.driverTableEntries)
|
|
|
dstEpj.gw = types.GetIPCopy(epj.gw)
|
|
|
dstEpj.gw = types.GetIPCopy(epj.gw6)
|
|
|
return nil
|