File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Documentation/netlink/specs
tools/testing/selftests/net Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ operations:
169
169
value : 20
170
170
attributes : *ifaddr-all
171
171
-
172
- name : getmaddrs
172
+ name : getmulticast
173
173
doc : Get / dump IPv4/IPv6 multicast addresses.
174
174
attribute-set : addr-attrs
175
175
fixed-header : ifaddrmsg
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ def dump_mcaddr_check(rtnl: RtnlAddrFamily) -> None:
12
12
At least the loopback interface should have this address.
13
13
"""
14
14
15
- addresses = rtnl .getmaddrs ({"ifa-family" : socket .AF_INET }, dump = True )
15
+ addresses = rtnl .getmulticast ({"ifa-family" : socket .AF_INET }, dump = True )
16
16
17
17
all_host_multicasts = [
18
18
addr for addr in addresses if addr ['ifa-multicast' ] == IPV4_ALL_HOSTS_MULTICAST
You can’t perform that action at this time.
0 commit comments