summaryrefslogtreecommitdiffstats
path: root/blob.c
diff options
context:
space:
mode:
Diffstat (limited to 'blob.c')
-rw-r--r--blob.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/blob.c b/blob.c
index 2c5dd17..1604308 100644
--- a/blob.c
+++ b/blob.c
@@ -144,7 +144,7 @@ unsigned long blob_inet_addr(blob_t b)
ip += blob_pull_uint(&b, 10);
if (b.len != 0)
return 0;
- return ip;
+ return htonl(ip);
}