projects
/
deliverable
/
titan.core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efbe586
)
hostid fix on solaris
author
ebensza
<bence.janos.szabo@ericsson.com>
Thu, 5 May 2016 10:32:42 +0000
(12:32 +0200)
committer
ebensza
<bence.janos.szabo@ericsson.com>
Thu, 5 May 2016 10:32:42 +0000
(12:32 +0200)
Signed-off-by: ebensza <bence.janos.szabo@ericsson.com>
core/Runtime.cc
patch
|
blob
|
blame
|
history
diff --git
a/core/Runtime.cc
b/core/Runtime.cc
index 8536d41d10d4a2d37783d3b43f641186fd95752a..cf54eb6d6b7fdeb60a55bd34de8883040d014291 100644
(file)
--- a/
core/Runtime.cc
+++ b/
core/Runtime.cc
@@
-301,8
+301,12
@@
CHARSTRING TTCN_Runtime::get_host_address(const CHARSTRING& type)
if (ipv4 == NULL) {
return CHARSTRING("");
}
- } else if (type == "Ipv6") {
- const IPv6Address * ipv6 = dynamic_cast<const IPv6Address*>(address);
+ }
+ if (type == "Ipv6") {
+ const IPv6Address * ipv6 = NULL;
+#if defined(LINUX) || defined(CYGWIN17)
+ ipv6 = dynamic_cast<const IPv6Address*>(address);
+#endif // LINUX || CYGWIN17
if (ipv6 == NULL) {
return CHARSTRING("");
}
This page took
0.025227 seconds
and
5
git commands to generate.