Added missing XAuth plugin feature enum names
authorMartin Willi <martin@revosec.ch>
Mon, 19 Dec 2011 17:55:41 +0000 (18:55 +0100)
committerMartin Willi <martin@revosec.ch>
Tue, 20 Mar 2012 16:31:28 +0000 (17:31 +0100)
src/libstrongswan/plugins/plugin_feature.c
src/libstrongswan/plugins/plugin_feature.h

index 385e77b..3305288 100644 (file)
@@ -40,6 +40,8 @@ ENUM(plugin_feature_names, FEATURE_NONE, FEATURE_CUSTOM,
        "CERT_ENCODE",
        "EAP_SERVER",
        "EAP_CLIENT",
+       "XAUTH_SERVER",
+       "XAUTH_CLIENT",
        "DATABASE",
        "FETCHER",
        "CUSTOM",
index 54fd2c6..344d194 100644 (file)
@@ -129,16 +129,16 @@ struct plugin_feature_t {
                FEATURE_EAP_SERVER,
                /** EAP peer implementation */
                FEATURE_EAP_PEER,
+               /** XAuth server implementation */
+               FEATURE_XAUTH_SERVER,
+               /** XAuth peer implementation */
+               FEATURE_XAUTH_PEER,
                /** database_t */
                FEATURE_DATABASE,
                /** fetcher_t */
                FEATURE_FETCHER,
                /** custom feature, described with a string */
                FEATURE_CUSTOM,
-               /** XAuth server implementation */
-               FEATURE_XAUTH_SERVER,
-               /** XAuth peer implementation */
-               FEATURE_XAUTH_PEER,
        } type;
        /** More specific data for each type */
        union {