X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fnetifd.git;a=blobdiff_plain;f=proto.c;h=c54206fd70c2a96519d04040cade53641da66a54;hp=99f083c60025c045897387c9febd29c8249667f0;hb=be8cbaecc2490b561bb7d7df81da1bb6258e92b5;hpb=58d2488ffe9553b908d3e10826376adeeb55d67b 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 *