summaryrefslogtreecommitdiff
path: root/src/nshd/hackers_git/hackers.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/nshd/hackers_git/hackers.go')
-rw-r--r--src/nshd/hackers_git/hackers.go9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/nshd/hackers_git/hackers.go b/src/nshd/hackers_git/hackers.go
index f7c4573..230f08b 100644
--- a/src/nshd/hackers_git/hackers.go
+++ b/src/nshd/hackers_git/hackers.go
@@ -2,7 +2,8 @@ package hackers_git
import (
"inotify"
- p "nslcd_proto"
+ "nslcd_proto"
+ "nslcd_proto/util"
"nslcd_systemd"
"sd_daemon/logger"
"sync"
@@ -14,10 +15,10 @@ type Config struct {
}
type Hackers struct {
- p.NullBackend
+ util.NullBackend
cfg Config
lock sync.RWMutex
- users map[int32]p.Passwd
+ users map[int32]nslcd_proto.Passwd
passwords map[int32]string
in_fd *inotify.Inotify
@@ -28,7 +29,7 @@ type Hackers struct {
}
var _ nslcd_systemd.Backend = &Hackers{}
-var _ p.Backend = &Hackers{}
+var _ nslcd_proto.Backend = &Hackers{}
func (o *Hackers) Close() {
logger.Info("Closing hackers.git session")