summaryrefslogtreecommitdiff
path: root/src/tests/test-ip6-config.c
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2013-09-24 18:19:18 +0200
committerThomas Haller <thaller@redhat.com>2013-09-24 18:31:34 +0200
commit661e47311d1e9a30ece2319c822e8d1489f35e7e (patch)
tree8ae593978a5cc9a6f151af058f98f341a4122d52 /src/tests/test-ip6-config.c
parent17607e74a2bfdd0cab3dcc7cbb21686f4c8ded96 (diff)
core: add const qualifier to functions in nm-ip[46]-config
Signed-off-by: Thomas Haller <thaller@redhat.com>
Diffstat (limited to 'src/tests/test-ip6-config.c')
-rw-r--r--src/tests/test-ip6-config.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tests/test-ip6-config.c b/src/tests/test-ip6-config.c
index 5c3d97805..10ce3bf04 100644
--- a/src/tests/test-ip6-config.c
+++ b/src/tests/test-ip6-config.c
@@ -93,8 +93,9 @@ test_subtract (void)
{
NMIP6Config *src, *dst;
NMPlatformIP6Address addr;
+ NMPlatformIP6Route route;
const NMPlatformIP6Address *test_addr;
- NMPlatformIP6Route route, *test_route;
+ const NMPlatformIP6Route *test_route;
const char *expected_addr = "1122:3344:5566::7788";
guint32 expected_addr_plen = 96;
const char *expected_route_dest = "9991:8882:7773::";