X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=service.c;h=73cf5b8146ff5c289f86cffd671aaa4ce18918fd;hb=HEAD;hp=668eaf06bd40ab4002ad1445ee80749f2e7b6d60;hpb=2c2705ac61f56406d643d0bdee649e893e352e66;p=project%2Funetd.git diff --git a/service.c b/service.c index 668eaf0..73cf5b8 100644 --- 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