diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2010-07-28 20:22:45 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2010-07-29 02:12:54 +0200 |
commit | a3e970d6d57a58de05a2e60dfdf6d9bf992310b1 (patch) | |
tree | a8899a8649075af6520572c97089b70c12d2fc1e /src/rtnl.c | |
parent | d3a1f0036b1aaa84051eadc107076f7a6efc5dbc (diff) | |
download | connman-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 && |