summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Wagner <daniel.wagner@bmw-carit.de>2012-02-13 15:51:39 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2012-02-13 17:24:56 +0100
commit327a08d71169dc00732a3693b70102952fb705b5 (patch)
tree34b5c28c701b2ff57aaff34f9ad72dc4f34f7b3a
parent7085edaa788877805504a2167168b283b0ebca01 (diff)
downloadconnman-327a08d71169dc00732a3693b70102952fb705b5.tar.gz
connman-327a08d71169dc00732a3693b70102952fb705b5.tar.bz2
connman-327a08d71169dc00732a3693b70102952fb705b5.zip
bridge: Fix __connman_bridge_enable() arguments ordering
-rw-r--r--src/bridge.c4
-rw-r--r--src/connman.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/bridge.c b/src/bridge.c
index da1622fa..2849ef79 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 60bb9c1c..da4affd0 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);