refactor: Connections don't need to know about overlay crypto

This commit is contained in:
Matthias Radestock committed 2015-11-07 16:10:00 +00:00
1 parent 519aef86fa
commit 006262ed8f
4 files changed
+11 -20

No files matched your search

+1 -1
View File
@@ -507,7 +507,7 @@ type fastDatapathForwarder struct {
}
func (fastdp fastDatapathOverlay) MakeForwarder(params ForwarderParams) (OverlayForwarder, error) {
if params.Crypto != nil {
if params.SessionKey != nil {
// No encryption suport in fastdp. The weaver main.go
// is responsible for ensuring this doesn't happen.
log.Fatal("Attempt to use FastDatapath with encryption")