diff options
author | mrm <mrm@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-09-08 16:13:22 +0000 |
---|---|---|
committer | mrm <mrm@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-09-08 16:13:22 +0000 |
commit | 2a2f0690f7fa24f9eeac7b7a267b503fdad4158e (patch) | |
tree | dee7b30bea0d0f1514080bcc65fec0ebda3ceff1 /ASNMP | |
parent | 73c9aa508eba6a60615475ba76d78222eec004dc (diff) | |
download | ATCD-2a2f0690f7fa24f9eeac7b7a267b503fdad4158e.tar.gz |
fix api change
Diffstat (limited to 'ASNMP')
-rw-r--r-- | ASNMP/examples/trap/trap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ASNMP/examples/trap/trap.cpp b/ASNMP/examples/trap/trap.cpp index 55ad2127377..857712c4973 100644 --- a/ASNMP/examples/trap/trap.cpp +++ b/ASNMP/examples/trap/trap.cpp @@ -158,7 +158,7 @@ int trapapp::run() " TRAP GENERATOR SAMPLE PROGRAM \nOID: " << oid_.to_string() << "\n"; target_.get_address(address_); // target updates port used int rc; - char *name = address_.friendly_name(rc); + char *name = address_.resolve_hostname(rc); if (rc) name = "<< did not resolve via gethostbyname() >>"; |