diff options
author | Abdullah Sowayan <sowayan@users.noreply.github.com> | 2007-06-30 04:51:04 +0000 |
---|---|---|
committer | Abdullah Sowayan <sowayan@users.noreply.github.com> | 2007-06-30 04:51:04 +0000 |
commit | 1b2308d125261e5851e90d8ef202c4ac83f52c64 (patch) | |
tree | 441fce067573429f2251569eedac9eee842f99e8 /ACE/ASNMP/examples/trap | |
parent | 677d654ca6d7f298e5e36e4a7dd7c926c6df31f2 (diff) | |
download | ATCD-1b2308d125261e5851e90d8ef202c4ac83f52c64.tar.gz |
Sat Jun 30 04:48:34 UTC 2007 Abdullah Sowayan <abdullah.sowayan@lmco.com>
Diffstat (limited to 'ACE/ASNMP/examples/trap')
-rw-r--r-- | ACE/ASNMP/examples/trap/trap.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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) { |