Use IPv4 multicast discovery

This commit is contained in:
Jakob Borg
2014-03-28 11:04:48 +01:00
parent 17a21102b3
commit 3700eb1e61
60 changed files with 120 additions and 4698 deletions

12
mc/debug.go Normal file
View File

@@ -0,0 +1,12 @@
package mc
import (
"log"
"os"
"strings"
)
var (
dlog = log.New(os.Stderr, "mc: ", log.Lmicroseconds|log.Lshortfile)
debug = strings.Contains(os.Getenv("STTRACE"), "mc")
)