login-validator: New parameter -just-login
This commit is contained in:
parent
a2a056f3ff
commit
d5a67e2bbb
2 changed files with 12 additions and 1 deletions
|
|
@ -18,6 +18,8 @@ var tftpDir string
|
|||
func main() {
|
||||
var studentsFile string
|
||||
|
||||
flag.BoolVar(&justLogin, "just-login", justLogin, "Don't perform MAC assignation and remote registration")
|
||||
|
||||
var bind = flag.String("bind", ":8081", "Bind port/socket")
|
||||
flag.StringVar(&studentsFile, "students", "./students.csv", "Path to a CSV file containing students list")
|
||||
flag.StringVar(&ARPTable, "arp", ARPTable, "Path to ARP table")
|
||||
|
|
|
|||
Reference in a new issue