Skip to content

Commit

Permalink
Fix OVS Interface Name
Browse files Browse the repository at this point in the history
  • Loading branch information
chenyunchen committed Jun 6, 2018
1 parent c1de182 commit 0d132e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/netlink_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func (s *server) ConnectBridge(ctx context.Context, req *pb.ConnectBridgeRequest
}, err
}

hostVethName := utils.GenerateVethName(req.PodUUID)
hostVethName := utils.GenerateVethName(req.PodUUID + req.ContainerVethName)
err = netns.Do(func(hostNS ns.NetNS) error {
if _, _, err := link.SetupVeth(req.ContainerVethName, hostVethName, 1500, hostNS); err != nil {
return err
Expand Down

0 comments on commit 0d132e2

Please sign in to comment.