repochecker: New plugin ip-inspector
This commit is contained in:
parent
7eb56999a3
commit
f1a2e6c360
5 changed files with 196 additions and 3 deletions
13
repochecker/pcap-inspector/main.go
Normal file
13
repochecker/pcap-inspector/main.go
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"srs.epita.fr/fic-server/admin/sync"
|
||||
)
|
||||
|
||||
var hooks *sync.CheckHooks
|
||||
|
||||
func RegisterChecksHooks(h *sync.CheckHooks) {
|
||||
hooks = h
|
||||
|
||||
h.RegisterFileHook(InspectFileForIPAddr)
|
||||
}
|
||||
Reference in a new issue