Update
This commit is contained in:
1 parent
3530afb854
commit
6903fcff27
2146 files changed
+112256
-190703
No files matched your search
+2
-1
@@ -33,7 +33,8 @@ func (pvc ProtocolVersionAndCommand) IsProxy() bool {
|
||||
|
||||
// IsUnspec returns true if the command is unspecified, false otherwise.
|
||||
func (pvc ProtocolVersionAndCommand) IsUnspec() bool {
|
||||
return !(pvc.IsLocal() || pvc.IsProxy())
|
||||
// Must be LOCAL or PROXY.
|
||||
return !pvc.IsLocal() && !pvc.IsProxy()
|
||||
}
|
||||
|
||||
func (pvc ProtocolVersionAndCommand) toByte() byte {
|
||||
|
||||
Reference in new issue
Block a user