mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
Fix stupid typo in r227830.
PR: 162806 Pointy hat to: glebius
This commit is contained in:
parent
bec54dbdc4
commit
bd47ae58a6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=227958
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user