diff options
Diffstat (limited to 'ASNMP/examples/walk/walk.cpp')
-rw-r--r-- | ASNMP/examples/walk/walk.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ASNMP/examples/walk/walk.cpp b/ASNMP/examples/walk/walk.cpp index 6f6ba1e2463..ec5fe803cfb 100644 --- a/ASNMP/examples/walk/walk.cpp +++ b/ASNMP/examples/walk/walk.cpp @@ -227,7 +227,7 @@ int walkapp::run() " WALK 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() >>"; |