summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2014-11-22 01:06:57 +0100
committerThomas Haller <thaller@redhat.com>2014-11-22 01:06:57 +0100
commitf1fe9f089dd22a1a792e8ddbc66c6260da6cf426 (patch)
tree7bf9fa720188526b7ea00f286cdd06cd42b11bc2
parent41f54a3bffa98c912bf4b4451ef7e28c906ed527 (diff)
downloadNetworkManager-f1fe9f089dd22a1a792e8ddbc66c6260da6cf426.tar.gz
fixup! core: fix route metrics for subnet routes
-rw-r--r--src/devices/nm-device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c
index e2dac233c0..e6ce9ef45c 100644
--- a/src/devices/nm-device.c
+++ b/src/devices/nm-device.c
@@ -2783,7 +2783,7 @@ ip4_config_merge_and_apply (NMDevice *self,
NMConnection *connection;
gboolean success;
NMIP4Config *composite;
- guint32 default_route_metric = nm_device_get_ip4_route_metric (self);
+ const guint32 default_route_metric = nm_device_get_ip4_route_metric (self);
/* Merge all the configs into the composite config */
if (config) {