summaryrefslogtreecommitdiff
path: root/ACE/ASNMP/examples
diff options
context:
space:
mode:
authorAbdullah Sowayan <sowayan@users.noreply.github.com>2007-06-30 04:51:04 +0000
committerAbdullah Sowayan <sowayan@users.noreply.github.com>2007-06-30 04:51:04 +0000
commit1b2308d125261e5851e90d8ef202c4ac83f52c64 (patch)
tree441fce067573429f2251569eedac9eee842f99e8 /ACE/ASNMP/examples
parent677d654ca6d7f298e5e36e4a7dd7c926c6df31f2 (diff)
downloadATCD-1b2308d125261e5851e90d8ef202c4ac83f52c64.tar.gz
Sat Jun 30 04:48:34 UTC 2007 Abdullah Sowayan <abdullah.sowayan@lmco.com>
Diffstat (limited to 'ACE/ASNMP/examples')
-rw-r--r--ACE/ASNMP/examples/get/get.cpp4
-rw-r--r--ACE/ASNMP/examples/get/get_async.cpp4
-rw-r--r--ACE/ASNMP/examples/next/next.cpp4
-rw-r--r--ACE/ASNMP/examples/set/set.cpp4
-rw-r--r--ACE/ASNMP/examples/trap/trap.cpp4
-rw-r--r--ACE/ASNMP/examples/walk/walk.cpp4
6 files changed, 24 insertions, 0 deletions
diff --git a/ACE/ASNMP/examples/get/get.cpp b/ACE/ASNMP/examples/get/get.cpp
index ff6fcb9681f..1829c381442 100644
--- a/ACE/ASNMP/examples/get/get.cpp
+++ b/ACE/ASNMP/examples/get/get.cpp
@@ -171,7 +171,11 @@ int getapp::run()
const char *name = address_.resolve_hostname(rc);
cout << "Device: " << address_ << " ";
+
+ //FUZZ: disable check_for_lack_ACE_OS
cout << (rc ? "<< did not resolve via gethostbyname() >>" : name) << "\n";
+ //FUZZ: enable check_for_lack_ACE_OS
+
cout << "[ Retries=" << target_.get_retry() << " \
Timeout=" << target_.get_timeout() <<" ms " << "Community=" << \
community_.to_string() << " ]"<< endl;
diff --git a/ACE/ASNMP/examples/get/get_async.cpp b/ACE/ASNMP/examples/get/get_async.cpp
index 8217ffabac1..163d559f58e 100644
--- a/ACE/ASNMP/examples/get/get_async.cpp
+++ b/ACE/ASNMP/examples/get/get_async.cpp
@@ -171,7 +171,11 @@ int getapp::run()
const char *name = address_.resolve_hostname(rc);
cout << "Device: " << address_ << " ";
+
+ //FUZZ: disable check_for_lack_ACE_OS
cout << (rc ? "<< did not resolve via gethostbyname() >>" : name) << "\n";
+ //FUZZ: enable check_for_lack_ACE_OS
+
cout << "[ Retries=" << target_.get_retry() << " \
Timeout=" << target_.get_timeout() <<" ms " << "Community=" << \
community_.to_string() << " ]"<< endl;
diff --git a/ACE/ASNMP/examples/next/next.cpp b/ACE/ASNMP/examples/next/next.cpp
index 7a9a2208ca2..a246c1ce549 100644
--- a/ACE/ASNMP/examples/next/next.cpp
+++ b/ACE/ASNMP/examples/next/next.cpp
@@ -170,7 +170,11 @@ int nextapp::run()
const char *name = address_.resolve_hostname(rc);
cout << "Device: " << address_ << " ";
+
+ //FUZZ: disable check_for_lack_ACE_OS
cout << (rc ? "<< did not resolve via gethostbyname() >>" : name) << "\n";
+ //FUZZ: enable check_for_lack_ACE_OS
+
cout << "[ Retries=" << target_.get_retry() << " \
Timeout=" << target_.get_timeout() <<" ms " << "Community=" << \
community_.to_string() << " ]"<< endl;
diff --git a/ACE/ASNMP/examples/set/set.cpp b/ACE/ASNMP/examples/set/set.cpp
index 39eb447f9a7..8cd8752f48a 100644
--- a/ACE/ASNMP/examples/set/set.cpp
+++ b/ACE/ASNMP/examples/set/set.cpp
@@ -241,7 +241,11 @@ int set::run()
const char *name = address_.resolve_hostname(rc);
cout << "Device: " << address_ << " ";
+
+ //FUZZ: disable check_for_lack_ACE_OS
cout << (rc ? "<< did not resolve via gethostbyname() >>" : name) << "\n";
+ //FUZZ: enable check_for_lack_ACE_OS
+
cout << "[ Retries=" << target_.get_retry() << " \
Timeout=" << target_.get_timeout() <<" ms " << "Community=" << \
community_.to_string() << " ]"<< endl;
diff --git a/ACE/ASNMP/examples/trap/trap.cpp b/ACE/ASNMP/examples/trap/trap.cpp
index 59d4f9f25bc..29ef6e4b7d8 100644
--- a/ACE/ASNMP/examples/trap/trap.cpp
+++ b/ACE/ASNMP/examples/trap/trap.cpp
@@ -171,7 +171,11 @@ int trapapp::run()
const char *name = address_.resolve_hostname(rc);
cout << "Device: " << address_ << " ";
+
+ //FUZZ: disable check_for_lack_ACE_OS
cout << (rc ? "<< did not resolve via gethostbyname() >>" : name) << "\n";
+ //FUZZ: enable check_for_lack_ACE_OS
+
cout << "[ Community=" << community_.to_string() << " ]"<< endl;
if (snmp_.trap( pdu_, target_) == SNMP_CLASS_SUCCESS) {
diff --git a/ACE/ASNMP/examples/walk/walk.cpp b/ACE/ASNMP/examples/walk/walk.cpp
index 56fc112fd71..2e67e2b4438 100644
--- a/ACE/ASNMP/examples/walk/walk.cpp
+++ b/ACE/ASNMP/examples/walk/walk.cpp
@@ -240,7 +240,11 @@ int walkapp::run()
const char *name = address_.resolve_hostname(rc);
cout << "Device: " << address_ << " ";
+
+ //FUZZ: disable check_for_lack_ACE_OS
cout << (rc ? "<< did not resolve via gethostbyname() >>" : name) << "\n";
+ //FUZZ: enable check_for_lack_ACE_OS
+
cout << "[ Retries=" << target_.get_retry() << " \
Timeout=" << target_.get_timeout() <<" ms " << "Community=" << \
community_.to_string() << " ]"<< endl;