refactor: Connections don't need to know about overlay crypto
This commit is contained in:
1 parent
519aef86fa
commit
006262ed8f
4 files changed
+11
-20
No files matched your search
+1
-1
@@ -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")
|
||||
|
||||
Reference in new issue
Block a user