summaryrefslogtreecommitdiffhomepage
path: root/proto.c
diff options
context:
space:
mode:
Diffstat (limited to 'proto.c')
-rw-r--r--proto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto.c b/proto.c
index 99f083c..c54206f 100644
--- a/proto.c
+++ b/proto.c
@@ -45,7 +45,7 @@ parse_ip_and_netmask(int af, const char *str, void *addr, unsigned int *netmask)
return 0;
}
- return inet_pton(af, str, addr);
+ return inet_pton(af, astr, addr);
}
struct device_addr *