Don't use a nil FlowOp to mean "discard the packet"

This commit is contained in:
David Wragg committed 2015-10-14 13:53:34 +01:00
1 parent b36ffe1c9d
commit e702234fdc
6 files changed
+54 -28

No files matched your search

+1 -1
View File
@@ -127,7 +127,7 @@ func (NullOverlay) AddFeaturesTo(map[string]string) {
}
func (NullOverlay) Forward(ForwardPacketKey) FlowOp {
return nil
return DiscardingFlowOp{}
}
func (NullOverlay) Stop() {