projects
/
oweals
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58d2488
)
fix parsing of ipaddr + netmask
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 12 Sep 2011 11:47:51 +0000
(13:47 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 12 Sep 2011 11:47:53 +0000
(13:47 +0200)
proto.c
patch
|
blob
|
history
diff --git
a/proto.c
b/proto.c
index 99f083c60025c045897387c9febd29c8249667f0..c54206fd70c2a96519d04040cade53641da66a54 100644
(file)
--- 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,
a
str, addr);
}
struct device_addr *