pud: fix readIPAddress function
authorFerry Huberts <ferry.huberts@pelagic.nl>
Thu, 15 Aug 2013 21:11:04 +0000 (23:11 +0200)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Thu, 15 Aug 2013 21:17:21 +0000 (23:17 +0200)
commit484ee78d798dd18a6bea4699029db70c40a580f4
tree0fddea8b8722fc068e61a917772fb1e8ba140e3b
parentd1a33c729c1052b8bc87b690b8dee9432ef6ce5f
pud: fix readIPAddress function

It would also set the port instead of only the IP address, thereby
opening up the possibility to lose the port if the address is set
after the port.

Reported-by: shkdee
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
lib/pud/src/configTools.c
lib/pud/src/netTools.h