Commit 0ae4b355 authored by Helga Velroyen's avatar Helga Velroyen
Browse files

Removes check for conflicts from NetworkDisconnect



This removes the check for conflicts from the Haskell
version of the OpCode NetworkDisconnect. This alignes
the Haskell code with the patch
"Force conflicts check in LUNetworkDisconnect" (which
is currently under review). I will submit these patches
together then.
Signed-off-by: default avatarHelga Velroyen <helgav@google.com>
Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
parent 1cce2c47
......@@ -535,7 +535,6 @@ $(genOpCode "OpCode"
, ("OpNetworkDisconnect",
[ pGroupName
, pNetworkName
, pIpConflictsCheck
])
, ("OpNetworkQuery", dOldQuery)
, ("OpRestrictedCommand",
......
......@@ -333,7 +333,7 @@ instance Arbitrary OpCodes.OpCode where
OpCodes.OpNetworkConnect <$> genNameNE <*> genNameNE <*>
arbitrary <*> genNameNE <*> arbitrary
"OP_NETWORK_DISCONNECT" ->
OpCodes.OpNetworkDisconnect <$> genNameNE <*> genNameNE <*> arbitrary
OpCodes.OpNetworkDisconnect <$> genNameNE <*> genNameNE
"OP_NETWORK_QUERY" ->
OpCodes.OpNetworkQuery <$> genFieldsNE <*> genNamesNE <*> arbitrary
"OP_RESTRICTED_COMMAND" ->
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment