This commit is contained in:
yo
2021-02-11 14:44:22 +01:00
parent cb9cf1ab36
commit a4adf1210a
+2 -2
View File
@@ -10,7 +10,7 @@
// Use a single LDAP connection protected by a mutex // Use a single LDAP connection protected by a mutex
// //
// v0.9.6 : add PID file // v0.9.6 : add PID file
// v0.9.7.2 : Check MX format with regex // v0.9.8 : Check MX format with regex
// //
package main package main
@@ -33,7 +33,7 @@ import (
) )
const ( const (
version = "0.9.7.2" version = "0.9.8"
// Match le nom de domaine, soit les 2 dernieres chaines separees par un point. // Match le nom de domaine, soit les 2 dernieres chaines separees par un point.
// Peut aussi terminer par un point (Ex: srv.domaine.com. => domaine.com) // Peut aussi terminer par un point (Ex: srv.domaine.com. => domaine.com)
DomainRegexpFormat = `([0-9A-Za-z\-]*)\.([0-9A-Za-z\-]*)(?:\.)?$` DomainRegexpFormat = `([0-9A-Za-z\-]*)\.([0-9A-Za-z\-]*)(?:\.)?$`