diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-09-12 13:47:51 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-09-12 13:47:53 +0200 |
commit | be8cbaecc2490b561bb7d7df81da1bb6258e92b5 (patch) | |
tree | fe0fa7984db752fab9f9a8463de6ccb846bcf712 | |
parent | 58d2488ffe9553b908d3e10826376adeeb55d67b (diff) |
fix parsing of ipaddr + netmask
-rw-r--r-- | proto.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 * |