projects
/
platform
/
upstream
/
iotivity.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'master' into simulator
[platform/upstream/iotivity.git]
/
resource
/
src
/
InProcServerWrapper.cpp
diff --git
a/resource/src/InProcServerWrapper.cpp
b/resource/src/InProcServerWrapper.cpp
index
0ae7c89
..
522ef82
100644
(file)
--- a/
resource/src/InProcServerWrapper.cpp
+++ b/
resource/src/InProcServerWrapper.cpp
@@
-263,6
+263,10
@@
namespace OC
{
initType = OC_CLIENT_SERVER;
}
+ else if (cfg.mode == ModeType::Gateway)
+ {
+ initType = OC_GATEWAY;
+ }
else
{
throw InitializeException(OC::InitException::NOT_CONFIGURED_AS_SERVER,