Index: dhcpcd-dbus.c |
diff --git a/dhcpcd-dbus.c b/dhcpcd-dbus.c |
index 36390107f6bc795064e9406cacfb2db142d33b9b..0a99942c471b09fdebaa51b873c83383c6965abd 100644 |
--- a/dhcpcd-dbus.c |
+++ b/dhcpcd-dbus.c |
@@ -472,7 +472,8 @@ msg_handler(DBusConnection *con, DBusMessage *msg, _unused void *data) |
{ |
#define IsMethod(msg, method) \ |
dbus_message_is_method_call(msg, DHCPCD_SERVICE, method) |
- if (IsMethod(msg, "Introspect")) { |
+ if (dbus_message_is_method_call(msg, DBUS_INTERFACE_INTROSPECTABLE, |
+ "Introspect")) { |
return introspect(con, msg); |
} else if (IsMethod(msg, "GetVersion")) { |
return version(con, msg, VERSION); |