rename
This commit is contained in:
1 parent
7187d38047
commit
2680e594dd
5 files changed
+14
-14
No files matched your search
@@ -53,7 +53,7 @@ func (s *MDNSServer) Start(ifi *net.Interface) error {
|
||||
// Ignore answers to other questions
|
||||
if len(r.Answer) == 0 && len(r.Question) > 0 {
|
||||
q := r.Question[0]
|
||||
if ip, err := s.zone.MatchLocal(q.Name); err == nil {
|
||||
if ip, err := s.zone.LookupLocal(q.Name); err == nil {
|
||||
m := makeAddressReply(r, &q, []net.IP{ip})
|
||||
if err = s.sendResponse(m); err != nil {
|
||||
Warning.Printf("Error writing to %s", w)
|
||||
|
||||
Reference in new issue
Block a user