Skip to content

Commit

Permalink
Remove modify #3137
Browse files Browse the repository at this point in the history
  • Loading branch information
hongliangl committed Mar 21, 2022
1 parent adcad72 commit 16f813d
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions pkg/agent/agent_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,14 +170,6 @@ func (i *Initializer) prepareOVSBridge() error {
i.ifaceStore.AddInterface(uplinkInterface)
ovsCtlClient := ovsctl.NewClient(i.ovsBridge)

// Enable IP forwarding on the bridge local interface. Traffic from the uplink interface will be output to the bridge
// local interface directly. When an external client connects to a LoadBalancer type Service, and the packets of the
// connection are routed to the selected backend Pod via the bridge interface; if we do not enable IP forwarding on
// the bridge interface, the packet will be discarded on the bridge interface as the destination of the packet
// is not the Node.
if err = util.EnableIPForwarding(brName); err != nil {
return err
}
// Set the uplink with "no-flood" config, so that the IP of local Pods and "antrea-gw0" will not be leaked to the
// underlay network by the "normal" flow entry.
if err = ovsCtlClient.SetPortNoFlood(config.UplinkOFPort); err != nil {
Expand Down

0 comments on commit 16f813d

Please sign in to comment.