Late style follow up on r312770.

Submitted by:	glebius
X-MFC with:	r312770
MFC after:	3 days
This commit is contained in:
Luiz Otavio O Souza 2018-08-15 15:44:30 +00:00
parent d8ba426351
commit 59b2022f94

View File

@ -620,8 +620,7 @@ in_difaddr_ioctl(u_long cmd, caddr_t data, struct ifnet *ifp, struct thread *td)
in_ifadown(&ia->ia_ifa, 1);
if (ia->ia_ifa.ifa_carp)
(*carp_detach_p)(&ia->ia_ifa,
(cmd == SIOCDIFADDR) ? false : true);
(*carp_detach_p)(&ia->ia_ifa, cmd == SIOCAIFADDR);
/*
* If this is the last IPv4 address configured on this