summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2015-09-22 15:08:28 +0200
committerDavid Herrmann <dh.herrmann@gmail.com>2015-09-22 15:08:28 +0200
commitbe19c5b5e0c0f78b8429b126936fa15856550a23 (patch)
tree28d490d21ceacb02c28724d254a998ad5b31063f /src/network
parent2237aa02f3e2739a1ebe9c0bc224b5125f5eb292 (diff)
sd-ipv4ll: fix namespacing
Prefix all exported constants with SD_IPV4LL_* to avoid namespacing conflicts.
Diffstat (limited to 'src/network')
-rw-r--r--src/network/networkd-ipv4ll.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/network/networkd-ipv4ll.c b/src/network/networkd-ipv4ll.c
index 1c34f55b4b..af3e3884e6 100644
--- a/src/network/networkd-ipv4ll.c
+++ b/src/network/networkd-ipv4ll.c
@@ -179,15 +179,15 @@ static void ipv4ll_handler(sd_ipv4ll *ll, int event, void *userdata){
return;
switch(event) {
- case IPV4LL_EVENT_STOP:
- case IPV4LL_EVENT_CONFLICT:
+ case SD_IPV4LL_EVENT_STOP:
+ case SD_IPV4LL_EVENT_CONFLICT:
r = ipv4ll_address_lost(link);
if (r < 0) {
link_enter_failed(link);
return;
}
break;
- case IPV4LL_EVENT_BIND:
+ case SD_IPV4LL_EVENT_BIND:
r = ipv4ll_address_claimed(ll, link);
if (r < 0) {
link_enter_failed(link);