getnet: simplify alias handling and reduce MAXALIASES
getnet: simplify alias handling and reduce MAXALIASES

Reduce MAXALIASES to something lower. There will probably never be
need for more than 1 alias but we allow a few extra.

While here we alos fix segfault when there are too many aliases.

Signed-off-by: Natanael Copa <e73df79305d2c30c2a35966f4bca3b7b6f223156@gmail.com>
Signed-off-by: Bernhard Reutner-Fischer <ce1ac9e9ad16abccd7821f371ad381197b4768ac@gmail.com>

joel-porquet/tsar-uclibc,joel-porquet/tsar-uclibc,joel-porquet/tsar-uclibc,joel-porquet/tsar-uclibc