I hate dbus-next

This commit is contained in:
Ezri Brimhall 2026-02-04 10:24:46 -07:00
parent 7a1b1c71dd
commit b49d76f8cb
Signed by: ezri
GPG Key ID: 058A78E5680C6F24

View File

@ -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.