summaryrefslogtreecommitdiff
path: root/src/rtnl.c
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2010-07-28 20:22:45 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2010-07-29 02:12:54 +0200
commita3e970d6d57a58de05a2e60dfdf6d9bf992310b1 (patch)
treea8899a8649075af6520572c97089b70c12d2fc1e /src/rtnl.c
parentd3a1f0036b1aaa84051eadc107076f7a6efc5dbc (diff)
downloadconnman-a3e970d6d57a58de05a2e60dfdf6d9bf992310b1.tar.gz
connman-a3e970d6d57a58de05a2e60dfdf6d9bf992310b1.tar.bz2
connman-a3e970d6d57a58de05a2e60dfdf6d9bf992310b1.zip
Add a family argument to the ipconfig routing functions
Diffstat (limited to 'src/rtnl.c')
-rw-r--r--src/rtnl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rtnl.c b/src/rtnl.c
index c67a0ed6..d8ea5dfd 100644
--- a/src/rtnl.c
+++ b/src/rtnl.c
@@ -648,7 +648,7 @@ static void process_newroute(unsigned char family, unsigned char scope,
inet_ntop(family, &dst, dststr, sizeof(dststr));
inet_ntop(family, &gateway, gatewaystr, sizeof(gatewaystr));
- __connman_ipconfig_newroute(index, scope, dststr, gatewaystr);
+ __connman_ipconfig_newroute(index, family, scope, dststr, gatewaystr);
/* skip host specific routes */
if (scope != RT_SCOPE_UNIVERSE &&
@@ -682,7 +682,7 @@ static void process_delroute(unsigned char family, unsigned char scope,
inet_ntop(family, &dst, dststr, sizeof(dststr));
inet_ntop(family, &gateway, gatewaystr, sizeof(gatewaystr));
- __connman_ipconfig_delroute(index, scope, dststr, gatewaystr);
+ __connman_ipconfig_delroute(index, family, scope, dststr, gatewaystr);
/* skip host specific routes */
if (scope != RT_SCOPE_UNIVERSE &&