Commit Graph
11 Commits
Author SHA1 Message Date
Bryan Boreham d234fe9506 Move handleMDNS into server file 2014-10-08 12:31:20 +01:00
Bryan Boreham 37924f9f9b Refactor into separate client and server classes 2014-10-08 11:30:42 +01:00
Bryan Boreham 8feddc96ed Merge remote-tracking branch 'upstream/master' 2014-10-07 13:18:34 +01:00
Bryan Boreham ff6f54488f Tidy up 2014-10-07 13:18:07 +01:00
Michael Bridgen e8e86dadc0 Changed to accept a CIDR address and use net.IP
* In general we'll have an IP address and a subnet mask for the weave
   network address; account for this in the zone DB and in the HTTP
   server.

 * Use the net.IP type rather than string, which gives us a bit more
   generality (in theory it'll deal with Ipv6 too) and validation (we
   attempt to parse the input)
2014-10-07 12:49:52 +01:00
Michael Bridgen e7ac6dafb3 Made the weave-local domain "weave" a constant
Plus some logging on startup
2014-10-07 12:46:59 +01:00
Bryan Boreham 574bc2cb9e Refactor MDNSClient as Actor 2014-10-06 17:56:50 +01:00
Bryan Boreham 69c415741e Take interface name as parameter; don't assume ethwe 2014-10-06 13:37:09 +01:00
Bryan Boreham 710fb135a6 Merge remote-tracking branch 'upstream/master'
Conflicts:
	dns/Dockerfile
2014-10-06 10:28:34 +01:00
Michael Bridgen bc5bbd349a Fix up Makefile and main.go for file moves 2014-10-04 15:23:32 +01:00
Michael Bridgen 3976e5ceaf Moved main to top, libs to subpackage 2014-10-04 14:51:46 +01:00