]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
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 699a91ff5ebb9ad29a112d40382d7a8f0a35194a..13374c8762747319ebc5c3ce5870b4e0e366aaa2 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
        {