Try to determine OS type if name and version are configured
authorTobias Brunner <tobias@strongswan.org>
Thu, 24 Jan 2013 17:36:22 +0000 (18:36 +0100)
committerTobias Brunner <tobias@strongswan.org>
Thu, 24 Jan 2013 18:13:41 +0000 (19:13 +0100)
src/libimcv/os_info/os_info.c

index 699a91f..13374c8 100644 (file)
@@ -570,6 +570,8 @@ os_info_t *os_info_create(void)
 
                version.len = strlen(version.ptr);
                version = chunk_clone(version);
+
+               type = os_type_from_name(name);
        }
        else
        {