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:18:06 +0000 (23:18 +0200)
commit6a6b16ff9b98387b12c0fe5bc9e765095c4c81d4
treea938f193f7ccc2a49236802b3186b5c4e73cd4f4
parent958be169b6e23bb8f334ce274218b049e2e5ba5a
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