summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2015-11-05 11:54:15 +0100
committerLubomir Rintel <lkundrak@v3.sk>2015-11-05 11:54:15 +0100
commit73ad7baacec73f623d6556438a0f776a351b0704 (patch)
tree30ed0266310730c7e6ce2767ba049dda5f77a907
parentf5585022787a57275687c7a1ec0ed3eaccaf5001 (diff)
downloadNetworkManager-73ad7baacec73f623d6556438a0f776a351b0704.tar.gz
device: fix switched ip6_config_subtract arguments
Came up during review and received less thought than deserved.
-rw-r--r--src/devices/nm-device.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c
index bffe8268e5..57994ed062 100644
--- a/src/devices/nm-device.c
+++ b/src/devices/nm-device.c
@@ -7668,8 +7668,8 @@ _ip4_config_intersect (gpointer value, gpointer user_data)
static void
_ip4_config_subtract (gpointer value, gpointer user_data)
{
- NMIP4Config *dst = (NMIP4Config *) value;
- NMIP4Config *src = (NMIP4Config *) user_data;
+ NMIP4Config *dst = (NMIP4Config *) user_data;
+ NMIP4Config *src = (NMIP4Config *) value;
nm_ip4_config_subtract (dst, src);
}
@@ -7746,8 +7746,8 @@ _ip6_config_intersect (gpointer value, gpointer user_data)
static void
_ip6_config_subtract (gpointer value, gpointer user_data)
{
- NMIP6Config *dst = (NMIP6Config *) value;
- NMIP6Config *src = (NMIP6Config *) user_data;
+ NMIP6Config *dst = (NMIP6Config *) user_data;
+ NMIP6Config *src = (NMIP6Config *) value;
nm_ip6_config_subtract (dst, src);
}