projects
/
framework
/
connectivity
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1cdd39b
)
Export Gateway from service properties IPv4
author
Martin Xu
<martin.xu@intel.com>
Fri, 7 May 2010 08:39:48 +0000
(16:39 +0800)
committer
Marcel Holtmann
<marcel@holtmann.org>
Fri, 7 May 2010 13:45:14 +0000
(15:45 +0200)
src/ipconfig.c
patch
|
blob
|
history
diff --git
a/src/ipconfig.c
b/src/ipconfig.c
index
4e4e095
..
5b51ef0
100644
(file)
--- a/
src/ipconfig.c
+++ b/
src/ipconfig.c
@@
-1148,6
+1148,9
@@
void __connman_ipconfig_append_ipv4config(struct connman_ipconfig *ipconfig,
mask = inet_ntoa(netmask);
connman_dbus_dict_append_basic(iter, "Netmask",
DBUS_TYPE_STRING, &mask);
+
+ connman_dbus_dict_append_basic(iter, "Gateway",
+ DBUS_TYPE_STRING, &ipconfig->address->gateway);
}
}