This repository was archived by the owner on Oct 1, 2021. It is now read-only.
Commit 8212b4e
authored
Add the ability to suppress mdns service scans for some services (#256)
- When we are already running a ServiceBrowser for services that netdisco scans for
we will already have all the answers we expect to get in the cache. By scanning
for these services again, we generate additional network traffic. Since the
known answer list was not shared between ServiceBrowsers in earlier versions
of zeroconf, we will send an empty list which will cause every services we
already have in the cache to be re-populated.1 parent 0e7296e commit 8212b4e
2 files changed
+14
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
57 | 61 | | |
58 | 62 | | |
59 | 63 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
37 | 46 | | |
38 | 47 | | |
39 | 48 | | |
| |||
0 commit comments