summaryrefslogtreecommitdiffstats
path: root/lib/libstand/net.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libstand/net.c')
-rw-r--r--lib/libstand/net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libstand/net.c b/lib/libstand/net.c
index 6ac0de8..06d9dbf 100644
--- a/lib/libstand/net.c
+++ b/lib/libstand/net.c
@@ -231,7 +231,7 @@ intoa(addr)
register int n;
static char buf[17]; /* strlen(".255.255.255.255") + 1 */
- NTOHL(addr);
+ addr = ntohl(addr);
cp = &buf[sizeof buf];
*--cp = '\0';
OpenPOWER on IntegriCloud