summaryrefslogtreecommitdiffstats
path: root/control.go
diff options
context:
space:
mode:
Diffstat (limited to 'control.go')
-rw-r--r--control.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/control.go b/control.go
index 3a13c15..9ae50ea 100644
--- a/control.go
+++ b/control.go
@@ -2,12 +2,12 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-// This package provides LDAP client functions.
package ldap
import (
"fmt"
- "github.com/marcsauter/asn1-ber"
+
+ "github.com/SpruceHealth/asn1-ber"
)
const (
@@ -45,7 +45,7 @@ func (c *ControlString) Encode() *ber.Packet {
}
func (c *ControlString) String() string {
- return fmt.Sprintf("Control Type: %s (%q) Criticality: %s Control Value: %s", ControlTypeMap[c.ControlType], c.ControlType, c.Criticality, c.ControlValue)
+ return fmt.Sprintf("Control Type: %s (%q) Criticality: %t Control Value: %s", ControlTypeMap[c.ControlType], c.ControlType, c.Criticality, c.ControlValue)
}
type ControlPaging struct {
@@ -76,7 +76,7 @@ func (c *ControlPaging) Encode() *ber.Packet {
func (c *ControlPaging) String() string {
return fmt.Sprintf(
- "Control Type: %s (%q) Criticality: %s PagingSize: %d Cookie: %q",
+ "Control Type: %s (%q) Criticality: %t PagingSize: %d Cookie: %q",
ControlTypeMap[ControlTypePaging],
ControlTypePaging,
false,