[PATCH v0 3/6] bridge: Fix __connman_bridge_enable() arguments ordering

Daniel Wagner wagi at monom.org
Mon Feb 13 06:51:39 PST 2012


From: Daniel Wagner <daniel.wagner at bmw-carit.de>

---
 src/bridge.c  |    4 ++--
 src/connman.h |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/bridge.c b/src/bridge.c
index da1622f..2849ef7 100644
--- a/src/bridge.c
+++ b/src/bridge.c
@@ -109,8 +109,8 @@ int __connman_bridge_remove(const char *name)
 	return 0;
 }
 
-int __connman_bridge_enable(const char *name, const char *broadcast,
-				const char *gateway)
+int __connman_bridge_enable(const char *name, const char *gateway,
+				const char *broadcast)
 {
 	int err, index;
 
diff --git a/src/connman.h b/src/connman.h
index 60bb9c1..da4affd 100644
--- a/src/connman.h
+++ b/src/connman.h
@@ -746,8 +746,8 @@ void __connman_ippool_deladdr(int index, const char *address);
 
 int __connman_bridge_create(const char *name);
 int __connman_bridge_remove(const char *name);
-int __connman_bridge_enable(const char *name, const char *broadcast,
-				const char *gateway);
+int __connman_bridge_enable(const char *name, const char *gateway,
+				const char *broadcast);
 int __connman_bridge_disable(const char *name);
 
 int __connman_nat_init(void);
-- 
1.7.9.48.g85da4d




More information about the connman mailing list