Fix long interface name handling.
authorHiten Pandya <hmp@dragonflybsd.org>
Fri, 14 Nov 2003 09:56:03 +0000 (09:56 +0000)
committerHiten Pandya <hmp@dragonflybsd.org>
Fri, 14 Nov 2003 09:56:03 +0000 (09:56 +0000)
commit35d7d0f991e1b97c8eb8392384cc839af2b0e287
tree57d854794c9933cc1da454378b798f62c3041312
parent9913eb5a942a048528c5bd4b86ec29e73108e528
Fix long interface name handling.

I found this when I was creating a test VLAN setup, where I had interface
named as vlan50 and vlan100.  These were truncated to vlan5 or vlan1. While
I am here, also fix the NetIf column in ``netstat -r'' output.
usr.bin/netstat/if.c
usr.bin/netstat/route.c