unet-cli: strip initial newline in usage message
[project/unetd.git] / service.c
index 668eaf06bd40ab4002ad1445ee80749f2e7b6d60..73cf5b8146ff5c289f86cffd671aaa4ce18918fd 100644 (file)
--- a/service.c
+++ b/service.c
@@ -126,7 +126,7 @@ service_add(struct network *net, struct blob_attr *data)
                s->type = strcpy(type_buf, type);
        if (config)
                s->config = memcpy(config_buf, config, blob_pad_len(config));
-#ifdef linux
+#ifdef VXLAN_SUPPORT
        if (type && !strcmp(type, "vxlan"))
                s->ops = &vxlan_ops;
 #endif