PUD: cfg: return default port when addr is NULL in getOlsrSockaddrPort
authorFerry Huberts <ferry.huberts@pelagic.nl>
Wed, 6 Jun 2012 13:46:04 +0000 (15:46 +0200)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Thu, 7 Jun 2012 22:30:03 +0000 (00:30 +0200)
commitb60189ad191afd6179d3435f066e0fed9bdf65ea
tree5a34e6a374082c256e9b0a32565e165e78a58f4e
parentdaca3735a9878c291637df98cd3656f4082a9017
PUD: cfg: return default port when addr is NULL in getOlsrSockaddrPort

Also, do nothing in setOlsrSockaddrPort if addr is NULL

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