diff options
author | elliott_c <elliott_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2004-11-23 16:36:10 +0000 |
---|---|---|
committer | elliott_c <elliott_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2004-11-23 16:36:10 +0000 |
commit | bf333be4c7439468b634602deb1c8e1455ae6f09 (patch) | |
tree | bb2ca4fcaf57645f5477025192e01a0bf2c9cb8a /ASNMP | |
parent | 7c941e3b7eef412c7903f7fe1557b814e2f72fbe (diff) | |
download | ATCD-bf333be4c7439468b634602deb1c8e1455ae6f09.tar.gz |
ChangeLogTag: Tue Nov 23 10:35:41 2004 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'ASNMP')
-rw-r--r-- | ASNMP/asnmp/address.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ASNMP/asnmp/address.cpp b/ASNMP/asnmp/address.cpp index e2fead24981..2442ea50550 100644 --- a/ASNMP/asnmp/address.cpp +++ b/ASNMP/asnmp/address.cpp @@ -553,7 +553,12 @@ int IpAddress::addr_to_friendly() return 0; } else { +#if defined (VXWORKS) + // VxWorks doesn't have h_errno + iv_friendly_name_status_ = errno; +#else iv_friendly_name_status_ = h_errno; +#endif /* VXWORKS */ return iv_friendly_name_status_; } } |