[Bug 1572] Malformed else, use of obsolete ifreq structure/ union and missing getInterfaceAddrByName in ifenum.c