summaryrefslogtreecommitdiff
path: root/TAO/tao/IIOP_Acceptor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/IIOP_Acceptor.cpp')
-rw-r--r--TAO/tao/IIOP_Acceptor.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/TAO/tao/IIOP_Acceptor.cpp b/TAO/tao/IIOP_Acceptor.cpp
index 30758b60b00..f9cc17a103c 100644
--- a/TAO/tao/IIOP_Acceptor.cpp
+++ b/TAO/tao/IIOP_Acceptor.cpp
@@ -1190,7 +1190,15 @@ TAO_IIOP_Acceptor::parse_options_i (int &argc,
ACE_TEXT ("TAO (%P|%t) Zero length IIOP ")
ACE_TEXT ("option name.\n")),
-1);
- if (name == "portspan")
+ if (name == "priority")
+ {
+ ACE_ERROR_RETURN ((LM_ERROR,
+ ACE_TEXT ("TAO (%P|%t) Invalid IIOP endpoint format: ")
+ ACE_TEXT ("endpoint priorities no longer supported. \n"),
+ value.c_str ()),
+ -1);
+ }
+ else if (name == "portspan")
{
int range = static_cast <int> (ACE_OS::atoi (value.c_str ()));
// @@ What's the lower bound on the range? zero, or one?