testupnpdescgen.c: minor fix on getifaddr()