summaryrefslogtreecommitdiff
path: root/src/libsystemd-network/test-acd.c
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2015-09-22 15:05:35 +0200
committerDavid Herrmann <dh.herrmann@gmail.com>2015-09-22 15:05:35 +0200
commit2237aa02f3e2739a1ebe9c0bc224b5125f5eb292 (patch)
tree8cacc6b4698d256ffa9dfc9f2a1f25a55265b8c5 /src/libsystemd-network/test-acd.c
parent575ac4c62e417cb3e963f2bee627e3c10b06691d (diff)
sd-ipv4acd: fix namespacing
Prefix all exported constants with SD_IPV4ACD to prevent namespacing conflicts.
Diffstat (limited to 'src/libsystemd-network/test-acd.c')
-rw-r--r--src/libsystemd-network/test-acd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libsystemd-network/test-acd.c b/src/libsystemd-network/test-acd.c
index f1f14ee119..94c31af3f3 100644
--- a/src/libsystemd-network/test-acd.c
+++ b/src/libsystemd-network/test-acd.c
@@ -39,13 +39,13 @@ static void acd_handler(sd_ipv4acd *acd, int event, void *userdata) {
assert_se(acd);
switch (event) {
- case IPV4ACD_EVENT_BIND:
+ case SD_IPV4ACD_EVENT_BIND:
log_info("bound");
break;
- case IPV4ACD_EVENT_CONFLICT:
+ case SD_IPV4ACD_EVENT_CONFLICT:
log_info("conflict");
break;
- case IPV4ACD_EVENT_STOP:
+ case SD_IPV4ACD_EVENT_STOP:
log_error("the client was stopped");
break;
default: