summaryrefslogtreecommitdiff
path: root/src/platform/tests/test-common.h
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2016-02-29 17:06:21 +0100
committerThomas Haller <thaller@redhat.com>2016-02-29 20:41:01 +0100
commita22cb566eae6a8a128bf4a77305c872dd7816870 (patch)
treeae6c3fbcbbbb0462c49b38d65d1a3cc1638375b4 /src/platform/tests/test-common.h
parent9dc9309b0562cd14e2d15689e03464a68543bae2 (diff)
downloadNetworkManager-th/platform-ipv4-flags.tar.gz
platform: add flags argument to nm_platform_ip4_address_add()th/platform-ipv4-flags
The argument is still always unset. We will need it later to set IFA_F_NOPREFIXROUTE.
Diffstat (limited to 'src/platform/tests/test-common.h')
-rw-r--r--src/platform/tests/test-common.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/platform/tests/test-common.h b/src/platform/tests/test-common.h
index 0281d3c533..e1aefa2aaa 100644
--- a/src/platform/tests/test-common.h
+++ b/src/platform/tests/test-common.h
@@ -117,6 +117,7 @@ void nmtstp_ip4_address_add (gboolean external_command,
in_addr_t peer_address,
guint32 lifetime,
guint32 preferred,
+ guint32 flags,
const char *label);
void nmtstp_ip6_address_add (gboolean external_command,
int ifindex,
@@ -125,7 +126,7 @@ void nmtstp_ip6_address_add (gboolean external_command,
struct in6_addr peer_address,
guint32 lifetime,
guint32 preferred,
- guint flags);
+ guint32 flags);
void nmtstp_ip4_address_del (gboolean external_command,
int ifindex,
in_addr_t address,