I hate dbus-next
This commit is contained in:
parent
7a1b1c71dd
commit
b49d76f8cb
@ -193,7 +193,7 @@ class Config:
|
||||
iface = bus.get_proxy_object(
|
||||
"org.freedesktop.network1", path, intro
|
||||
).get_interface("org.freedesktop.network1.Link")
|
||||
if await iface.get_ipv4_address_state() == "routable":
|
||||
if await iface.get_i_pv4_address_state() == "routable":
|
||||
# Only process interfaces with a routable IPv4 address
|
||||
desc = json.loads(await iface.call_describe())
|
||||
# we'll create an exclusion for any kernel-protocol, link-scoped IPv4 route on this interface.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user