aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2012-11-19 13:26:05 +0100
committerMartin Willi <martin@revosec.ch>2012-11-30 15:48:39 +0100
commit55b323c2240c2c71a0a3e51e5ee96c746136f57d (patch)
tree52398a0085ecaae415785d9df2752e4aaa0cde45 /src
parentdd685d55e52211678b0b2ca4762f9c7cf49b6b04 (diff)
downloadstrongswan-55b323c2240c2c71a0a3e51e5ee96c746136f57d.tar.bz2
strongswan-55b323c2240c2c71a0a3e51e5ee96c746136f57d.tar.xz
Check os_version when reading release file, os_name is not set for Debian
Diffstat (limited to 'src')
-rw-r--r--src/libimcv/os_info/os_info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libimcv/os_info/os_info.c b/src/libimcv/os_info/os_info.c
index 098cb1e83..f7cd52524 100644
--- a/src/libimcv/os_info/os_info.c
+++ b/src/libimcv/os_info/os_info.c
@@ -486,7 +486,7 @@ static bool extract_platform_info(os_type_t *type, chunk_t *name,
break;
}
- if (!os_name.ptr)
+ if (!os_version.ptr)
{
DBG1(DBG_IMC, "no distribution release file found");
return FALSE;