diff options
author | Daniel Wagner <daniel.wagner@bmw-carit.de> | 2012-02-13 15:51:39 +0100 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-02-13 17:24:56 +0100 |
commit | 327a08d71169dc00732a3693b70102952fb705b5 (patch) | |
tree | 34b5c28c701b2ff57aaff34f9ad72dc4f34f7b3a | |
parent | 7085edaa788877805504a2167168b283b0ebca01 (diff) | |
download | connman-327a08d71169dc00732a3693b70102952fb705b5.tar.gz connman-327a08d71169dc00732a3693b70102952fb705b5.tar.bz2 connman-327a08d71169dc00732a3693b70102952fb705b5.zip |
bridge: Fix __connman_bridge_enable() arguments ordering
-rw-r--r-- | src/bridge.c | 4 | ||||
-rw-r--r-- | src/connman.h | 4 |
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); |