add code to set ip addresses when an interface with the static proto is brought up
[project/netifd.git] / vlan.c
diff --git a/vlan.c b/vlan.c
index 3de1121..c417f75 100644 (file)
--- a/vlan.c
+++ b/vlan.c
@@ -105,7 +105,7 @@ static struct device *get_vlan_device(struct device *dev, int id, bool create)
        return &vldev->dev;
 }
 
        return &vldev->dev;
 }
 
-static inline char *split_vlan(char *s)
+static char *split_vlan(char *s)
 {
        s = strchr(s, '.');
        if (!s)
 {
        s = strchr(s, '.');
        if (!s)