Skip to content

Commit faa90de

Browse files
authored
Merge pull request #54 from nvandamme/main
fix publishing ipv6 link-local
2 parents 424150f + 0b0e6cf commit faa90de

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ edition = "2018"
1111

1212
[dependencies]
1313
byteorder = "1.5"
14-
if-addrs = "0.11.0"
15-
hostname = "0.3.1"
14+
if-addrs = { version = "0.12.0", features = ["link-local"] }
15+
hostname = "0.4.0"
1616
log = "0.4"
17-
multimap = "0.9"
17+
multimap = "0.10.0"
1818
rand = "0.8"
1919
futures-util = "0.3"
2020
thiserror = "1.0"
@@ -25,10 +25,10 @@ socket2 = { version = "0.5", features = ["all"] }
2525
winapi = { version = "0.3", features = ["netioapi"] }
2626

2727
[target.'cfg(not(windows))'.dependencies]
28-
nix = { version = "0.27", features = ["net"] }
28+
nix = { version = "0.28", features = ["net"] }
2929

3030
[dev-dependencies]
31-
env_logger = { version = "0.10", default-features = false, features = [
31+
env_logger = { version = "0.10.2", default-features = false, features = [
3232
"color",
3333
"humantime",
3434
"auto-color",

examples/zeroconf_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
from zeroconf import ServiceBrowser, Zeroconf, IPVersion, ZeroconfServiceTypes
1+
from zeroconf import ServiceBrowser, ServiceListener, Zeroconf, IPVersion, ZeroconfServiceTypes
22
from time import sleep
33

44

55
TYPE = "_http._tcp.local."
66
NAME = "libmdns Web Server"
77

88

9-
class MyListener:
9+
class MyListener(ServiceListener):
1010
def __init__(self):
1111
self.found = []
1212

0 commit comments

Comments
 (0)