1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-21 11:13:30 +00:00

Fix stupid typo in r227830.

PR:		162806
Pointy hat to:	glebius
This commit is contained in:
Gleb Smirnoff 2011-11-24 22:43:48 +00:00
parent bec54dbdc4
commit bd47ae58a6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=227958

View File

@ -376,7 +376,7 @@ in_control(struct socket *so, u_long cmd, caddr_t data, struct ifnet *ifp,
switch (cmd) {
case SIOCAIFADDR:
case SIOCDIFADDR:
if (ifra->ifra_addr.sin_len == AF_INET) {
if (ifra->ifra_addr.sin_family == AF_INET) {
struct in_ifaddr *oia;
IN_IFADDR_RLOCK();