Fix an off-by-one which could mean writing beyond the end of the array when
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Mon, 1 Jan 2007 01:42:23 +0000 (01:42 +0000)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Mon, 1 Jan 2007 01:42:23 +0000 (01:42 +0000)
commit57a0bd7721f6dbeaba627dbe89e9b4a6300f17c9
treed4eed9ad79c22d669bc58c712ab6bbcb3f2d4dc3
parent6f7b88fb208a047b42487d85f6f971b0d713de8b
Fix an off-by-one which could mean writing beyond the end of the array when
putting '\0' to the end of the iface name.

Obtained-From: FreeBSD(bz@freebsd.org) with modification
sbin/ifconfig/ifconfig.c