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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=337854

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