attr: Silently skip over load option
authorTobias Brunner <tobias@strongswan.org>
Fri, 7 Feb 2014 12:18:50 +0000 (13:18 +0100)
committerTobias Brunner <tobias@strongswan.org>
Wed, 12 Feb 2014 13:34:34 +0000 (14:34 +0100)
src/libhydra/plugins/attr/attr_provider.c

index 629d2ca..a27fd57 100644 (file)
@@ -190,6 +190,10 @@ static void load_entries(private_attr_provider_t *this)
                char *pos;
                int i, mask = -1, family;
 
+               if (streq(key, "load"))
+               {
+                       continue;
+               }
                type = atoi(key);
                if (!type)
                {