[PATCH 1/2] firewall: update FirewallD DBus service & path & interface
- From: Jiri Popelka <jpopelka redhat com>
- To: networkmanager-list gnome org
- Subject: [PATCH 1/2] firewall: update FirewallD DBus service & path & interface
- Date: Fri, 10 Feb 2012 16:45:23 +0100
---
src/firewall-manager/nm-firewall-manager.c | 2 +-
src/firewall-manager/nm-firewall-manager.h | 7 ++++---
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/firewall-manager/nm-firewall-manager.c b/src/firewall-manager/nm-firewall-manager.c
index 00e3958..f20227e 100644
--- a/src/firewall-manager/nm-firewall-manager.c
+++ b/src/firewall-manager/nm-firewall-manager.c
@@ -194,7 +194,7 @@ nm_firewall_manager_init (NMFirewallManager * self)
priv->proxy = dbus_g_proxy_new_for_name (bus,
FIREWALL_DBUS_SERVICE,
FIREWALL_DBUS_PATH,
- FIREWALL_DBUS_INTERFACE);
+ FIREWALL_DBUS_INTERFACE_ZONE);
}
static void
diff --git a/src/firewall-manager/nm-firewall-manager.h b/src/firewall-manager/nm-firewall-manager.h
index fc844e2..cfcca01 100644
--- a/src/firewall-manager/nm-firewall-manager.h
+++ b/src/firewall-manager/nm-firewall-manager.h
@@ -24,9 +24,10 @@
#include <glib-object.h>
#include <dbus/dbus-glib.h>
-#define FIREWALL_DBUS_SERVICE "org.fedoraproject.FirewallD"
-#define FIREWALL_DBUS_PATH "/org/fedoraproject/FirewallD"
-#define FIREWALL_DBUS_INTERFACE "org.fedoraproject.FirewallD"
+#define FIREWALL_DBUS_SERVICE "org.fedoraproject.FirewallD1"
+#define FIREWALL_DBUS_PATH "/org/fedoraproject/FirewallD1"
+#define FIREWALL_DBUS_INTERFACE "org.fedoraproject.FirewallD1"
+#define FIREWALL_DBUS_INTERFACE_ZONE "org.fedoraproject.FirewallD1.zone"
G_BEGIN_DECLS
--
1.7.7.6
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]