Improve veth name construction; use a constant instead of "ethwe"

This commit is contained in:
Bryan Boreham committed 2016-05-25 17:34:13 +01:00
1 parent 8717fd15ed
commit 2702b85ee5
5 files changed
+14 -8

No files matched your search

+1 -1
View File
@@ -108,7 +108,7 @@ func (driver *driver) JoinEndpoint(j *api.JoinRequest) (*api.JoinResponse, error
response := &api.JoinResponse{
InterfaceName: &api.InterfaceName{
SrcName: peerName,
DstPrefix: "ethwe",
DstPrefix: weavenet.VethName,
},
}
if !driver.noMulticastRoute {