showip2.c formatting improved, code condensed